-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
feat: Add support for the jest.config.ts
configuration file
#10564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
dcc71bb
feat: Add support for the `jest.config.ts` configuration file
Gamote e7b0573
chore: The `jest.config.ts` documentation was updated
Gamote a2c9fdc
chore: The `jest.config.ts` support was specified in the CHANGELOG.md
Gamote 2b5d97a
chore: Documentation updated to encourage the usage of TS annotations
Gamote 7f5a39d
Errors fixed for tests and prettier
Gamote 0b68052
chore: Use 'ts-node' as peer dependency instead of 'typescript'
Gamote 2ef46e2
chore: Documentation updated to specify the 'ts-node' peer dependency…
Gamote 9bc4504
fix: Prettier errors
Gamote 5674532
fix: Remove console logs to avoid them to be captured in snapshots
Gamote de5766b
fix: Remove console logs to avoid them to be captured in snapshots
Gamote c9069fd
fix: Added 'testEnvironment' in the `jest.config.ts` tests to fix the…
Gamote 2cf2933
chore: `interopRequireDefault` was moved to save an import
Gamote 144c341
chore: better comments for `readConfigFileAndSetRootDir`
Gamote 8fa7b61
chore: indicate that `ts-node` is optional via 'peerDependenciesMeta'
Gamote d8724e6
chore: Updated documentation
Gamote a5033aa
chore: tests was added to be sure that the types are checked in the `…
Gamote 4d49437
chore: Update the fixture for `jest.config.ts` to use 'default'
Gamote 50623f4
Merge branch 'master' into feature/allow-ts-config-file
Gamote e0b5270
chore: (ts-node) allow for majors higher than 9
Gamote 0d6f2ca
chore: revert changes in the 26.4 documentation
Gamote a291af2
chore: updated the return of 'loadTSConfigFile'
Gamote 5d4065e
chore: replace local 'interopRequireDefault' with the one defined in …
Gamote ee9569b
chore: handle the case in which config is a function which imports mo…
Gamote 91de77a
chore: let the consumers to deal with ts-node errors
Gamote 2f16544
chore: docs comments were updated
Gamote b551b29
fix: tests were fixed after 'readConfigFileAndSetRootDir' updates
Gamote 4ec1eb1
chore: 'jest-environment-jsdom-fifteen' was replaced with 'jest-envir…
Gamote 7d6f815
chore: ask the user if he want's to use the Typescript configuration …
Gamote 9bf4a0c
chore: use the local 'jest-environment-node'
Gamote a69c677
fix: use `jest-util` instead of `jest-util/build`
Gamote a3b7210
chore: add type annotation for the 'ts-node' register variable
Gamote 8b678d9
chore: make Typescript override module
Gamote 729f6dc
chore: 'jest-environment-node' was removed from the root `package.json`
Gamote 7c02d1c
chore: added `ts-node` as dev dependency in the `jest-config`
Gamote 9aa8d53
chores:
Gamote 55169aa
chore: move `typescript` and `ts-node` from 'dependencies' to 'devDep…
Gamote b614995
fix: jest.config.ts test > user answered with "No"
Gamote 3fb9994
chore: use multiline string instead of manual newlines
Gamote 6336d36
chore: better naming for the 'configDocMessage': 'configHeaderMessage'
Gamote File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore: The
jest.config.ts
documentation was updated
- Loading branch information
commit e7b057375a607a2865e1109426fdf680838e00f1
There are no files selected for viewing
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.