-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
TS migration jest-circus
#7916
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
TS migration jest-circus
#7916
Changes from 32 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
1850348
Migration to ts (part 1)
doniyor2109 3309c3b
Merge remote-tracking branch 'jest/master' into jest-circus/ts_migration
doniyor2109 e89b57b
Migration to ts (part 2)
doniyor2109 62d423c
Migration to ts (part 3)
doniyor2109 6d18743
Minor tweaks
doniyor2109 f8d6b1c
TS migration (part 4)
doniyor2109 a279271
Wrong dts
doniyor2109 d0adc8e
dts for co
doniyor2109 bd16585
Added project references
doniyor2109 017df40
Merge remote-tracking branch 'jest/master' into jest-circus/ts_migration
doniyor2109 2ad24c1
Remove not ts module
doniyor2109 b033e2e
Replace custom co dts with @types/co
doniyor2109 f75fa0a
No index file
SimenB 0fad01d
Some tweaks
doniyor2109 e982e1e
Some tweaks
doniyor2109 2d82778
Temp DiffOptions type
doniyor2109 c76f342
Remove extra eslint disable
doniyor2109 6401264
Workaround for global vars
doniyor2109 6e11c8d
Resolves
doniyor2109 dd6cc0f
Move @types/co to devDeps
doniyor2109 ecdc291
Update packages/jest-circus/src/run.ts
SimenB 54a986e
Update packages/jest-circus/src/utils.ts
SimenB 0cc1688
Tweaks
doniyor2109 aecf7e1
Remove extra types
doniyor2109 ffa6116
Fix failing test
doniyor2109 8a8b967
Merge remote-tracking branch 'jest/master' into jest-circus/ts_migration
doniyor2109 ec797a0
TS migration part (4)
doniyor2109 2638e24
Fix linter errors
doniyor2109 41e8e8d
Fix types for tests
doniyor2109 6df3fd4
Fix @jest/types cannot be found in test
doniyor2109 bb16143
Detailed comment for flowfix
doniyor2109 9e8545b
Ignore ts errors for non migrated modules
doniyor2109 aa322f8
`import =` is not supported by @babel/plugin-transform-typescript
doniyor2109 a0766a6
Fix weired ts error
doniyor2109 1f88dd6
Fix linter errors
doniyor2109 de7b093
Remove extra eslint disables
doniyor2109 ec2bcda
Move expect types to @jest/types
doniyor2109 0ed2e9e
[email protected]:doniyor2109/jest.giterge branch 'master' into jest-ci…
SimenB 136f986
tweaks
SimenB fbe9d77
remove jest config change
SimenB 5b49c03
fix test
SimenB 88655bb
Added reminder for replacing Each type
doniyor2109 849b8c2
keep comments from old tests
SimenB cba5c77
Update CHANGELOG.md
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
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
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.
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
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
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 |
|---|---|---|
|
|
@@ -3,17 +3,13 @@ | |
| * | ||
| * This source code is licensed under the MIT license found in the | ||
| * LICENSE file in the root directory of this source tree. | ||
| * | ||
| * @flow | ||
| */ | ||
|
|
||
| 'use strict'; | ||
|
|
||
| const circus = require('../index.js'); | ||
| import circus from '../'; | ||
|
|
||
| describe.each([['beforeEach'], ['beforeAll'], ['afterEach'], ['afterAll']])( | ||
| '%s hooks error throwing', | ||
| fn => { | ||
| (fn: 'beforeEach' | 'beforeAll' | 'afterEach' | 'afterAll') => { | ||
|
||
| test.each([ | ||
| ['String'], | ||
| [1], | ||
|
|
||
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
Oops, something went wrong.
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.