Commit 9d39e68
committed
Merge remote-tracking branch 'upstream/master' into pr/7167
* upstream/master: (391 commits)
more precise circus asyncError types (jestjs#8150)
Add typeahead watch plugin (jestjs#6449)
fix: getTimerCount not taking immediates and ticks into account (jestjs#8139)
website: add an additional filter predicate to backers (jestjs#7286)
[🔥] Revised README (jestjs#8076)
[jest-each] Fix test function type (jestjs#8145)
chore: improve bug template labels for easier maintenance (jestjs#8141)
Add documentation related to auto-mocking (jestjs#8099)
Add support for bigint to pretty-format (jestjs#8138)
Revert "Add fuzzing based tests in Jest (jestjs#8012)"
chore: remove console.log
chore: Improve description of optional arguments in ExpectAPI.md (jestjs#8126)
Add fuzzing based tests in Jest (jestjs#8012)
Move @types/node to the root package.json (jestjs#8129)
chore: use property initializer syntax (jestjs#8117)
chore: delete flow types from the repo (jestjs#8061)
Move changelog entry to the proper version (jestjs#8115)
Release 24.5.0
Expose throwOnModuleCollision (jestjs#8113)
add matchers to expect type (jestjs#8093)
...2,424 files changed
Lines changed: 249505 additions & 132242 deletions
File tree
- .circleci
- .github/ISSUE_TEMPLATE
- .yarn/releases
- docs
- e2e
- __tests__
- __snapshots__
- async-regenerator
- __tests__
- auto-clear-mocks
- with-auto-clear
- __tests__
- without-auto-clear
- __tests__
- auto-reset-mocks
- with-auto-reset
- __tests__
- without-auto-reset
- __tests__
- auto-restore-mocks
- with-auto-restore
- __tests__
- without-auto-restore
- __tests__
- babel-plugin-jest-hoist
- __test_modules__
- __mocks__
- __tests__
- bad-source-map/__tests__
- before-all-filtered/__tests__
- before-each-queue/__tests__
- browser-support
- clear-cache/__tests__
- compare-dom-nodes/__tests__
- console-after-teardown
- __tests__
- console-jsdom/__tests__
- console-winston
- __tests__
- console/__tests__
- coverage-remapping
- __tests__
- coverage-report
- __mocks__
- __tests__
- cached-duplicates
- a
- __tests__
- b
- __tests__
- coverage-transform-instrumented
- __tests__
- custom-matcher-stack-trace/__tests__
- custom-reporters
- __tests__
- reporters
- custom-resolver
- __mocks__
- __tests__
- declaration-errors
- __tests__
- deprecated-cli-options/__tests__
- detect-open-handles
- __tests__
- each/__tests__
- empty-describe-with-hooks/__tests__
- empty-suite-error/__tests__
- env-test/__tests__
- environment-after-teardown
- __tests__
- environmentOptions/__tests__
- error-on-deprecated/__tests__
- expect-async-matcher
- __tests__
- expect-in-vm/__tests__
- failures
- __tests__
- __snapshots__
- fake-promises
- asap
- __tests__
- immediate
- __tests__
- filter
- __tests__
- focused-tests
- __tests__
- generator-mock
- __tests__
- global-setup-custom-transform
- __tests__
- global-setup
- __tests__
- custom-tests-dir
- custom_tests_dir
- project-1
- project-2
- global-teardown
- __tests__
- custom-tests-dir
- custom_tests_dir
- project-1
- project-2
- jasmine-async/__tests__
- json-reporter
- __tests__
- lifecycles
- __tests__
- list-tests/__tests__
- location-in-results/__tests__
- mock-names
- with-empty-mock-name-not-called
- __tests__
- with-empty-mock-name
- __tests__
- with-mock-name-call-times-fail
- __tests__
- with-mock-name-call-times-pass
- __tests__
- with-mock-name-not-called-fail
- __tests__
- with-mock-name-not-called-pass
- __tests__
- with-mock-name-not-called
- __tests__
- with-mock-name
- __tests__
- without-mock-name-not-called
- __tests__
- without-mock-name
- __tests__
- module-name-mapper-correct-config
- __mocks__
- __tests__
- module-name-mapper-mock
- __tests__/storage/track
- src/storage/track
- module-name-mapper-wrong-config
- __tests__
- module-parent-null-in-test
- __tests__
- module_parent_null_in_test/__tests__
- multi-project-config-root
- bar/__tests__
- foo/__tests__
- native-async-mock
- __tests__
- nested-event-loop/__tests__
- node-path
- __tests__
- src/path
- override-globals
- __tests__
- pnp
- __tests__
- lib
- presets
- json
- __tests__
- node_modules/jest-preset-json
- js
- __tests__
- node_modules/jest-preset-js
- process-exit
- __tests__
- regex-(char-in-path/__tests__
- require-after-teardown
- __tests__
- require-main
- __tests__
- reset-modules
- __tests__
- reset_modules/__tests__
- resolve-get-paths
- __tests__
- resolve-no-extensions
- __tests__
- resolve-node-module
- __mocks__
- mock-jsx-module
- mock-module-alt
- mock-module-without-pkg
- mock-module
- __tests__
- resolve-with-paths
- __tests__
- dir
- resolve_no_extensions
- __tests__
- resolve
- __mocks__
- __tests__
- run-programmatically
- runtime-internal-module-registry
- __mocks__
- __tests__
- set-immediate/__tests__
- setup-files-after-env-config
- __tests__
- snapshot-escape/__tests__
- snapshot-mock-fs
- __tests__
- snapshot-resolver
- __tests__
- snapshot-serializers
- __tests__
- plugins
- foo
- snapshot/__tests__
- stack-trace-no-capture-stack-trace/__tests__
- stack-trace-source-maps
- __tests__
- stack-trace/__tests__
- test-environment-async
- __tests__
- test-environment/__tests__
- test-in-root
- test-name-pattern-skipped
- __tests__
- test-name-pattern
- __tests__
- test-results-processor
- __tests__
- test-retries
- __tests__
- reporters
- test-todo/__tests__
- testNamePattern_skipped/__tests__
- testNamePattern/__tests__
- testResultsProcessor/__tests__
- timer-reset-mocks
- after-reset-all-mocks
- with-reset-mocks
- timer-use-real-timers/__tests__
- to-match-inline-snapshot
- to-match-snapshot
- to-throw-error-matching-inline-snapshot
- to-throw-error-matching-snapshot
- transform-linked-modules
- __tests__
- ignored
- package
- transform
- babel-jest-ignored
- __tests__
- babel-jest-manual
- __tests__
- babel-jest
- __tests__
- some-dir
- this-directory-is-covered
- custom-instrumenting-preprocessor
- __tests__
- src
- ecmascript-modules-support
- __tests__
- src
- multiple-transformers
- __tests__
- __snapshots__
- src
- no-babel-jest
- __tests__
- this-directory-is-covered
- typescript-coverage
- __tests__
- verbose-reporter/__tests__
- examples
- async
- __mocks__
- automatic-mocks
- babel-7
- __tests__
- enzyme
- __tests__
- getting-started
- jquery
- manual-mocks
- module-mock
- __tests__
- react-native
- ios/jestrn/Images.xcassets/AppIcon.appiconset
- react-testing-library
- __tests__
- react
- __tests__
- snapshot
- __tests__
- timer
- typescript
- __tests__
- fixtures
- flow-typed
- npm
- packages
- babel-jest
- src
- __tests__
- babel-plugin-jest-hoist
- src
- babel-preset-jest
- diff-sequences
- perf
- src
- __tests__
- __snapshots__
- eslint-config-fb-strict
- expect
- src
- __tests__
- __snapshots__
- jest-changed-files
- src
- jest-circus
- src
- __mocks__
- __tests__
- __snapshots__
- legacy-code-todo-rewrite
- jest-cli
- bin
- src
- __tests__
- cli
- test_root_with_(parentheses)
- __testtests__
- test_root
- __testtests__
- cli
- init
- __tests__
- __snapshots__
- fixtures
- has_jest_config_file
- has_jest_config_in_package_json
- no_package_json
- only_package_json
- test_script_configured
- typescript_in_dependencies
- typescript_in_dev_dependencies
- lib
- __tests__
- __snapshots__
- fixtures/has_jest_config_file
- init
- plugins
- reporters
- __tests__
- jest-config
- src
- __mocks__
- __tests__
- jest-console
- src
- __tests__
- jest-core
- src
- __tests__
- __fixtures__
- __snapshots__
- test_root_with_(parentheses)
- __testtests__
- test_root
- __testtests__
- assets
- cli
- lib
- __tests__
- __snapshots__
- plugins
- jest-diff
- src
- __tests__
- __snapshots__
- jest-docblock
- src
- __tests__
- jest-each
- src
- __tests__
- __snapshots__
- table
- jest-environment-jsdom
- src
- __mocks__
- __tests__
- jest-environment-node
- src
- __tests__
- jest-environment
- src
- jest-fake-timers
- src
- __tests__
- __snapshots__
- jest-get-type
- src
- __tests__
- jest-haste-map
- src
- __tests__
- __snapshots__
- crawlers
- __tests__
- lib
- __tests__
- jest-jasmine2
- src
- __tests__
- __snapshots__
- jasmine
- jest-leak-detector
- src
- __tests__
- __snapshots__
- jest-matcher-utils
- src
- __tests__
- __snapshots__
- jest-message-util
- src
- __tests__
- __snapshots__
- jest-mock
- src
- __tests__
- jest-phabricator
- example
- src
- jest-regex-util
- src
- __tests__
- jest-repl
- bin
- src
- __tests__
- cli
- jest-reporters
- src
- __tests__
- __snapshots__
- jest-resolve-dependencies
- src
- __tests__
- __fixtures__
- node_modules/@myorg/pkg
- jest-resolve
- src
- __mocks__
- __tests__
- jest-runner
- src
- __tests__
- jest-runtime
- bin
- src
- __mocks__
- __tests__
- NODE_PATH_dir
- __snapshots__
- module_dir
- test_root_with_dup_mocks
- subdir1
- __mocks__
- subdir2
- __mocks__
- module_dir
- test_root
- MyDirectoryModule
- __mocks__
- nested1/nested2
- haste-modules
- haste-package/core
- mapped_dir
- module_dir
- my-module
- modules_with_main
- nested1/nested2
- node_modules
- jest-resolve-test
- mocked-node-module
- module-needing-parent
- node_modules/parent-module
- not-a-haste-package
- npm3-main-dep
- npm3-transitive-dep
- parent-module
- platform
- sourcemaps
- out
- subdir2/module_dir
- my-module
- cli
- jest-serializer
- src
- __tests__
- jest-snapshot
- src
- __mocks__
- __tests__
- __snapshots__
- fixtures
- plugins
- jest-source-map
- src
- __tests__
- jest-test-result
- src
- __tests__
- jest-transform
- src
- __tests__
- __snapshots__
- jest-types
- src
- jest-util
- src
- __tests__
- jest-validate
- src
- __tests__
- fixtures
- jest-watcher
- src
- lib
- __tests__
- __snapshots__
- jest-worker
- src
- __performance_tests__
- workers
- __tests__
- base
- __tests__
- workers
- __tests__
- jest
- bin
- src
- pretty-format
- perf
- src
- __tests__
- __snapshots__
- plugins
- lib
- test-utils
- src
- scripts
- types
- website
- .vscode
- blog
- core
- pages/en
- static
- css
- img
- blog
- content
- matchers
- favicon
- versioned_docs
- version-22.0
- version-22.1
- version-22.2
- version-22.3
- version-22.4
- version-22.x
- version-23.0
- version-23.1
- version-23.2
- version-23.3
- version-23.4
- version-23.5
- version-23.6
- version-23.x
- version-24.0
- version-24.1
- versioned_sidebars
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | | - | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | | - | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
45 | 50 | | |
46 | 51 | | |
47 | | - | |
| 52 | + | |
48 | 53 | | |
49 | 54 | | |
50 | 55 | | |
51 | | - | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | 62 | | |
58 | | - | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
65 | | - | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
68 | | - | |
| 73 | + | |
69 | 74 | | |
70 | 75 | | |
71 | 76 | | |
72 | | - | |
| 77 | + | |
73 | 78 | | |
74 | 79 | | |
75 | | - | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | | - | |
| 87 | + | |
83 | 88 | | |
84 | 89 | | |
85 | 90 | | |
86 | | - | |
| 91 | + | |
87 | 92 | | |
88 | 93 | | |
89 | | - | |
| 94 | + | |
90 | 95 | | |
91 | 96 | | |
92 | 97 | | |
93 | | - | |
| 98 | + | |
94 | 99 | | |
95 | 100 | | |
96 | | - | |
97 | | - | |
| 101 | + | |
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
101 | 116 | | |
102 | 117 | | |
103 | 118 | | |
104 | | - | |
| 119 | + | |
105 | 120 | | |
106 | 121 | | |
107 | 122 | | |
108 | 123 | | |
109 | | - | |
| 124 | + | |
110 | 125 | | |
111 | 126 | | |
112 | 127 | | |
| |||
118 | 133 | | |
119 | 134 | | |
120 | 135 | | |
121 | | - | |
122 | 136 | | |
| 137 | + | |
123 | 138 | | |
124 | 139 | | |
| 140 | + | |
125 | 141 | | |
126 | 142 | | |
127 | 143 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 8 | | |
12 | 9 | | |
13 | 10 | | |
| |||
16 | 13 | | |
17 | 14 | | |
18 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
19 | 32 | | |
20 | 33 | | |
21 | 34 | | |
| |||
51 | 64 | | |
52 | 65 | | |
53 | 66 | | |
54 | | - | |
| 67 | + | |
55 | 68 | | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | 72 | | |
102 | 73 | | |
103 | 74 | | |
| |||
136 | 107 | | |
137 | 108 | | |
138 | 109 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
| 110 | + | |
148 | 111 | | |
149 | 112 | | |
150 | 113 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
| 114 | + | |
156 | 115 | | |
157 | 116 | | |
158 | 117 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
0 commit comments