-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(subtree) chore(deps): update jest monorepo to v28 (major) (#1456)
* chore(deps): update jest monorepo to v28 * test: fix jest.config.js From jestjs/jest#12689, jest passes `rootDir` option to babel-jest. If rootDir is project sub-directory (e.g. `src/`, `__tests__/`), babel cannot load babel.config.js in project root. * chore(rest-api-client): fix type error for dom (#1513) * test(create-plugin): fix jest.config.js * chore(rest-api-client): add type definition of Blob and BlobPart Co-authored-by: Renovate Bot <[email protected]> Co-authored-by: Masaharu TASHIRO <[email protected]> Co-authored-by: tasshi / Masaharu TASHIRO <[email protected]> Co-authored-by: Masashi Hirano <[email protected]>
- Loading branch information
1 parent
b217fac
commit d5c47bd
Showing
3 changed files
with
7 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
module.exports = { | ||
/** @type {import('@jest/types').Config.InitialOptions} */ | ||
const config = { | ||
testRegex: "(?<!site)/test/[^\\/]*\\.spec.ts$", | ||
testEnvironment: "node", | ||
testTimeout: 30000, | ||
}; | ||
module.exports = config; |
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
module.exports = { | ||
/** @type {import('@jest/types').Config.InitialOptions} */ | ||
const config = { | ||
testRegex: "/test/.*-test\\.js$", | ||
testEnvironment: "jsdom", | ||
}; | ||
module.exports = config; |