Skip to content

Commit 779720c

Browse files
committed
Chore: fix trivial
1 parent 6beda60 commit 779720c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/sequential.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const assert = require("power-assert")
1313
const nodeApi = require("../lib")
1414
const spawnWithKill = require("./lib/spawn-with-kill")
1515
const util = require("./lib/util")
16+
const delay = util.delay
1617
const result = util.result
1718
const removeResult = util.removeResult
1819
const runAll = util.runAll
@@ -26,7 +27,7 @@ describe("[sequencial] npm-run-all", () => {
2627
before(() => process.chdir("test-workspace"))
2728
after(() => process.chdir(".."))
2829

29-
beforeEach(removeResult)
30+
beforeEach(() => delay(1000).then(removeResult))
3031

3132
describe("should run tasks sequentially:", () => {
3233
it("Node API", () =>

0 commit comments

Comments
 (0)