Skip to content

Commit

Permalink
Simplified tests
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Dec 17, 2018
1 parent f0c6972 commit 65a39b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
8 changes: 1 addition & 7 deletions test/flat/index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global __dirname */
import { bundle, clean, exists, list } from "../util"
import { bundle, clean, list } from "../util"

const root = __dirname

Expand All @@ -8,11 +8,5 @@ test("Flat", async () => {

expect(list(root, "output")).resolves.toMatchSnapshot()

expect(exists(root,
[
"output/index.js",
"output/bsdudxaF.md"
])).resolves.toBeTruthy()

await clean(root, "output")
})
8 changes: 1 addition & 7 deletions test/one-level/index.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* global __dirname */
import { bundle, clean, exists, list } from "../util"
import { bundle, clean, list } from "../util"

const root = __dirname

Expand All @@ -8,11 +8,5 @@ test("One Level", async () => {

expect(list(root, "output")).resolves.toMatchSnapshot()

expect(exists(root,
[
"output/index.js",
"output/bsdudxaF.md"
])).resolves.toBeTruthy()

await clean(root, "output")
})

0 comments on commit 65a39b4

Please sign in to comment.