Skip to content

Commit

Permalink
Convert to .mjs and updated sass import call to new syntax.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnjmnrsh committed Jun 8, 2024
1 parent 9da93eb commit 3ddf1e6
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test.js

This file was deleted.

13 changes: 13 additions & 0 deletions test.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import fs from 'fs'
import test from 'ava'
import * as sass from 'sass'

test('tachyons-sass is able to be compiled by sass', (t) => {
t.plan(1)

const scss = fs.readFileSync('tachyons.scss', 'utf8')

t.notThrows(() => {
sass.renderSync({ data: scss })
})
})

0 comments on commit 3ddf1e6

Please sign in to comment.