You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@
15
15
16
16
-`[jest-circus]` Send test case results for `todo` tests ([#13915](https://github.com/facebook/jest/pull/13915))
17
17
-`[jest-circus]` Update message printed on test timeout ([#13830](https://github.com/facebook/jest/pull/13830))
18
+
-`[jest-circus]` Avoid creating the word "testfalse" when `takesDoneCallback` is `false` in the message printed on test timeout AND updated timeouts test ([#13954](https://github.com/facebook/jest/pull/13954))
18
19
-`[@jest/test-result]` Allow `TestResultsProcessor` type to return a Promise ([#13950](https://github.com/facebook/jest/pull/13950))
Copy file name to clipboardExpand all lines: packages/jest-circus/src/utils.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -179,7 +179,7 @@ const _makeTimeoutMessage = (
179
179
`Exceeded timeout of ${formatTime(timeout)} for a ${
180
180
isHook ? 'hook' : 'test'
181
181
}${
182
-
takesDoneCallback&&' while waiting for `done()` to be called'
182
+
takesDoneCallback?' while waiting for `done()` to be called' : ''
183
183
}.\nAdd a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout.`;
184
184
185
185
// Global values can be overwritten by mocks or tests. We'll capture
0 commit comments