We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09082cb commit a10ec1cCopy full SHA for a10ec1c
test/cli/test/detect-async-leaks.test.ts
@@ -5,14 +5,13 @@ import { runVitestCli } from '../../test-utils'
5
const files = glob.sync('fixtures/detect-async-leaks/*.test.ts')
6
7
test.each(files)('should detect hanging operations - %s', async (file) => {
8
- const { stdout, stderr } = await runVitestCli(
+ const { stdout } = await runVitestCli(
9
'run',
10
'--root',
11
'fixtures/detect-async-leaks',
12
'--detectAsyncLeaks',
13
file,
14
)
15
16
- expect(stderr).toBeFalsy()
17
expect(stdout).toMatchSnapshot()
18
})
0 commit comments