Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Dec 16, 2023
1 parent 0d873b7 commit 3a05448
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/watch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ test('watch', async (t) => {
const controller = new AbortController()
t.after(async () => {
controller.abort()
await rm(dir, { recursive: true })
try {
await rm(dir, { recursive: true, retryDelay: 100, maxRetries: 10 })
} catch {}
})

const config = {
Expand Down Expand Up @@ -67,7 +69,9 @@ test('watch file syntax error', async (t) => {
const controller = new AbortController()
t.after(async () => {
controller.abort()
await rm(dir, { recursive: true })
try {
await rm(dir, { recursive: true, retryDelay: 100, maxRetries: 10 })
} catch {}

Check failure on line 74 in test/watch.test.js

View workflow job for this annotation

GitHub Actions / test (18.x, ubuntu-latest)

Trailing spaces not allowed

Check failure on line 74 in test/watch.test.js

View workflow job for this annotation

GitHub Actions / test (20.x, ubuntu-latest)

Trailing spaces not allowed

Check failure on line 74 in test/watch.test.js

View workflow job for this annotation

GitHub Actions / test (21.x, ubuntu-latest)

Trailing spaces not allowed
})

const config = {
Expand Down

0 comments on commit 3a05448

Please sign in to comment.