Skip to content

Commit 579e9ba

Browse files
committed
Fix prettier build
1 parent 80cadec commit 579e9ba

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

Diff for: test/import.js

+13-7
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,13 @@ test("should ignore & adjust external import", checkFixture, "ignore")
2626

2727
test("should not fail with only one absolute import", t => {
2828
const base = "@import url(http://)"
29-
return postcss().use(atImport()).process(base).then(result => {
30-
t.is(result.warnings().length, 0)
31-
t.is(result.css, base)
32-
})
29+
return postcss()
30+
.use(atImport())
31+
.process(base)
32+
.then(result => {
33+
t.is(result.warnings().length, 0)
34+
t.is(result.css, base)
35+
})
3336
})
3437

3538
test("should not fail with absolute and local import", t => {
@@ -85,7 +88,10 @@ test(
8588
)
8689

8790
test("should work with no styles without throwing an error", t => {
88-
return postcss().use(atImport()).process("").then(result => {
89-
t.is(result.warnings().length, 0)
90-
})
91+
return postcss()
92+
.use(atImport())
93+
.process("")
94+
.then(result => {
95+
t.is(result.warnings().length, 0)
96+
})
9197
})

0 commit comments

Comments
 (0)