-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CI] Resolve warnings in tests (#3873)
This PR makes the following changes: - Cleans up test warnings when running our jest test suites - Adds a patch that resolves an issue with jest version 29 - jestjs/jest#14513 - This is resolved in jest 30 but it's still in beta
- Loading branch information
Showing
4 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/jest-config/build/ValidConfig.js b/node_modules/jest-config/build/ValidConfig.js | ||
index 0c1250c..67e586e 100644 | ||
--- a/node_modules/jest-config/build/ValidConfig.js | ||
+++ b/node_modules/jest-config/build/ValidConfig.js | ||
@@ -331,6 +331,7 @@ const initialProjectOptions = { | ||
['/__tests__/\\.test\\.[jt]sx?$', '/__tests__/\\.spec\\.[jt]sx?$'] | ||
), | ||
testRunner: 'circus', | ||
+ testTimeout: 5000, | ||
transform: { | ||
'\\.js$': '<rootDir>/preprocessor.js' | ||
}, |