-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
chore: migrate jest-environment-jsdom to TypeScript #8003
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 19 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
c857e4c
Rename files
0cfe10b
Migrate jest-environment-node
57a3567
Minor
9b279a6
Merge branch 'master' into jest-environment
2c3afe4
Use new fake timers package
ae3c45c
Implement JestEnvironment
bd4e070
before migration
71048f6
Update CHANGELOG.md
cc4eacb
add to tsconfigs
SimenB b3effe8
Merge remote-tracking branch 'upstream/master'
9cf040b
Merge branch 'master' into jest-environment
a40ea8d
Revert "before migration"
b215884
Merge branch 'master' into jest-environment
0a9e4c4
Rename files
4e8e638
Migrate to TS (WIP)
3c4486f
Update package.json
d50560b
Revert "Update package.json"
3968bc4
Update package.json
6105073
runScript should always return `null` (never `void`)
5ffc083
Migrate to TS (WIP)
f45cc88
Migrate mocks
1f9081a
Change runScript return type to unknown
f1ed385
Migrate jest-environment-jsdom
e162e48
Comments
eebb6f8
Update changelog and jest-config tsconfig.json
a743367
Merge remote-tracking branch 'upstream/master'
3beb007
Merge branch 'master' into jest-environment
5fb6bfd
Update return type of runScript()
58fc28b
Update global assignment of Window
c7c84f7
Merge branch 'master' into jest-environment
SimenB 06539b1
tweaks to reduce diff
SimenB 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
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
File renamed without changes.
File renamed without changes.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "extends": "../../tsconfig.json", | ||
| "compilerOptions": { | ||
| "outDir": "build", | ||
| "rootDir": "src" | ||
| }, | ||
| "references": [ | ||
| {"path": "../jest-environment"}, | ||
| {"path": "../jest-fake-timers"}, | ||
| {"path": "../jest-mock"}, | ||
| {"path": "../jest-types"}, | ||
| {"path": "../jest-util"} | ||
| ] | ||
| } |
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.