-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert to .mjs and updated sass import call to new syntax.
- Loading branch information
Showing
2 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }) | ||
}) | ||
}) |