Skip to content

Commit

Permalink
fix spurious ENOTEMPTY in test on windows ci
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 4, 2022
1 parent 2939d00 commit 7ae587d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/read-write-stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ test('read files', function (t) {
})

test('cleanup', function (t) {
rimraf.sync(p)
t.end()
rimraf(p, function () {
t.end()
})
})

0 comments on commit 7ae587d

Please sign in to comment.