Skip to content

Commit

Permalink
Reorganize tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanZim committed Nov 23, 2016
1 parent a15e402 commit 883669d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
15 changes: 15 additions & 0 deletions test/custom-syntax-parser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import test from "ava"
import scss from "postcss-scss"
import compareFixtures from "./helpers/compare-fixtures"

test("should process custom syntax", t => {
return compareFixtures(t, "scss-syntax", null, {
syntax: scss,
})
})

test("should process custom syntax by parser", t => {
return compareFixtures(t, "scss-parser", null, {
parser: scss,
})
})
13 changes: 0 additions & 13 deletions test/plugins.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import test from "ava"
import postcss from "postcss"
import scss from "postcss-scss"
import atImport from ".."
import compareFixtures from "./helpers/compare-fixtures"

Expand Down Expand Up @@ -51,15 +50,3 @@ test("should remain silent when value is an empty array", () => {
}))
.process("")
})

test("should process custom syntax", t => {
return compareFixtures(t, "scss-syntax", null, {
syntax: scss,
})
})

test("should process custom syntax by parser", t => {
return compareFixtures(t, "scss-parser", null, {
parser: scss,
})
})

0 comments on commit 883669d

Please sign in to comment.