From 579e9ba3b8d8bb8c7cc16c191419a6cd2e074d92 Mon Sep 17 00:00:00 2001 From: RyanZim Date: Sat, 16 Sep 2017 19:35:22 -0400 Subject: [PATCH] Fix prettier build --- test/import.js | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/test/import.js b/test/import.js index 5030ec53..64c6a8f1 100644 --- a/test/import.js +++ b/test/import.js @@ -26,10 +26,13 @@ test("should ignore & adjust external import", checkFixture, "ignore") test("should not fail with only one absolute import", t => { const base = "@import url(http://)" - return postcss().use(atImport()).process(base).then(result => { - t.is(result.warnings().length, 0) - t.is(result.css, base) - }) + return postcss() + .use(atImport()) + .process(base) + .then(result => { + t.is(result.warnings().length, 0) + t.is(result.css, base) + }) }) test("should not fail with absolute and local import", t => { @@ -85,7 +88,10 @@ test( ) test("should work with no styles without throwing an error", t => { - return postcss().use(atImport()).process("").then(result => { - t.is(result.warnings().length, 0) - }) + return postcss() + .use(atImport()) + .process("") + .then(result => { + t.is(result.warnings().length, 0) + }) })