Skip to content

Commit 40add0b

Browse files
committed
cleanup after test
1 parent f14f92e commit 40add0b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/as-parent-spec.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ describe('testing check-types', () => {
2727
.then(install)
2828
})
2929

30-
afterEach(chdir.back)
30+
afterEach(function () {
31+
this.timeout(TWO_MINUTES)
32+
return chdir.to(testFolder)
33+
.then(prune)
34+
.then(install)
35+
.then(chdir.back)
36+
})
3137

3238
it('checks latest check-types', function () {
3339
this.timeout(TWO_MINUTES)

0 commit comments

Comments
 (0)