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 7e73efd commit 0de3b3cCopy full SHA for 0de3b3c
1 file changed
packages/jest-circus/src/index.ts
@@ -186,10 +186,8 @@ const test: Global.It = (() => {
186
) => void,
187
timeout?: number,
188
failing?: boolean,
189
- asyncError?: Error,
+ asyncError: Error= new ErrorWithStack(undefined, testFn),,
190
) => {
191
- asyncError = asyncError || new ErrorWithStack(undefined, testFn);
192
-
193
try {
194
testName = convertDescriptorToString(testName);
195
} catch (error) {
0 commit comments