Skip to content

Commit a10ec1c

Browse files
committed
test: update
1 parent 09082cb commit a10ec1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/cli/test/detect-async-leaks.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ import { runVitestCli } from '../../test-utils'
55
const files = glob.sync('fixtures/detect-async-leaks/*.test.ts')
66

77
test.each(files)('should detect hanging operations - %s', async (file) => {
8-
const { stdout, stderr } = await runVitestCli(
8+
const { stdout } = await runVitestCli(
99
'run',
1010
'--root',
1111
'fixtures/detect-async-leaks',
1212
'--detectAsyncLeaks',
1313
file,
1414
)
1515

16-
expect(stderr).toBeFalsy()
1716
expect(stdout).toMatchSnapshot()
1817
})

0 commit comments

Comments
 (0)