Skip to content

Commit

Permalink
test: update
Browse files Browse the repository at this point in the history
  • Loading branch information
fenghan34 committed Mar 21, 2024
1 parent 09082cb commit a10ec1c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/cli/test/detect-async-leaks.test.ts
Expand Up @@ -5,14 +5,13 @@ import { runVitestCli } from '../../test-utils'
const files = glob.sync('fixtures/detect-async-leaks/*.test.ts')

test.each(files)('should detect hanging operations - %s', async (file) => {
const { stdout, stderr } = await runVitestCli(
const { stdout } = await runVitestCli(
'run',
'--root',
'fixtures/detect-async-leaks',
'--detectAsyncLeaks',
file,
)

expect(stderr).toBeFalsy()
expect(stdout).toMatchSnapshot()
})

0 comments on commit a10ec1c

Please sign in to comment.