diff --git a/test.js b/test.js deleted file mode 100755 index 77aa2c1..0000000 --- a/test.js +++ /dev/null @@ -1,13 +0,0 @@ -import fs from "fs"; -import test from "ava"; -import 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 }); - }); -}); diff --git a/test.mjs b/test.mjs new file mode 100755 index 0000000..78bdc06 --- /dev/null +++ b/test.mjs @@ -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 }) + }) +})