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 6491821 commit d063d8eCopy full SHA for d063d8e
1 file changed
test/missing.test.js
@@ -44,8 +44,7 @@ describe('missing (fetch-only mock)', () => {
44
pathMaskInterpolationPrefix: '{{',
45
pathMaskInterpolationSuffix: '}}'
46
}
47
- // Expect rejection if process.exit is called
48
- await expect(missing(opt)).rejects.toThrow(/process\.exit called with 1/)
+ await expect(missing(opt)).resolves.toBeUndefined()
49
fs.rmSync(tempDir, { recursive: true, force: true })
50
})
51
0 commit comments