Skip to content

Commit 883669d

Browse files
committed
Reorganize tests
1 parent a15e402 commit 883669d

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

test/custom-syntax-parser.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import test from "ava"
2+
import scss from "postcss-scss"
3+
import compareFixtures from "./helpers/compare-fixtures"
4+
5+
test("should process custom syntax", t => {
6+
return compareFixtures(t, "scss-syntax", null, {
7+
syntax: scss,
8+
})
9+
})
10+
11+
test("should process custom syntax by parser", t => {
12+
return compareFixtures(t, "scss-parser", null, {
13+
parser: scss,
14+
})
15+
})

test/plugins.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import test from "ava"
22
import postcss from "postcss"
3-
import scss from "postcss-scss"
43
import atImport from ".."
54
import compareFixtures from "./helpers/compare-fixtures"
65

@@ -51,15 +50,3 @@ test("should remain silent when value is an empty array", () => {
5150
}))
5251
.process("")
5352
})
54-
55-
test("should process custom syntax", t => {
56-
return compareFixtures(t, "scss-syntax", null, {
57-
syntax: scss,
58-
})
59-
})
60-
61-
test("should process custom syntax by parser", t => {
62-
return compareFixtures(t, "scss-parser", null, {
63-
parser: scss,
64-
})
65-
})

0 commit comments

Comments
 (0)