Commit 13c960e
committed
Merge branch 'master' into uglier-inline-snapshots
* master: (398 commits)
chore(breaking): remove undocumented `enabledTestsMap` config (jestjs#10787)
Change expect.not.objectContaining() to match documentation (jestjs#10708)
chore: add name to root project (jestjs#10782)
Added explanation on how to use custom @jest-environment to docs (jestjs#10783)
fix: remove deprecated functions from the jest object (jestjs#9853)
chore: convert jest-runtime to ESM (jestjs#10325)
fix(resolve): use escalade to find package.json (jestjs#10781)
feat(jest-runner): set exit code to 1 if test logs after teardown (jestjs#10728)
chore: add `exports` field to all `package.json`s (jestjs#9921)
fix: do not inject `global` variable into module wrapper (jestjs#10644)
chore: migrate jest-resolve to ESM (jestjs#10688)
chore(transform): refactor API to pass an options bag around rather than multiple boolean options (jestjs#10753)
chore: default to node test env rather than browser (jestjs#9874)
fix: drop support for node 13 (jestjs#10685)
chore: show enhanced syntax error for all syntax errors (jestjs#10749)
chore: update lockfile after publish
v26.6.3
chore: update changelog for release
Don't throw an error if mock dependency can't be found (jestjs#10779)
chore: bump babel core types (jestjs#10772)
...File tree
1,003 files changed
+55391
-175473
lines changed- .circleci
- .eslintplugin
- .github
- ISSUE_TEMPLATE
- workflows
- .vscode
- .yarn
- plugins/@yarnpkg
- releases
- docs
- e2e
- __tests__
- __snapshots__
- async-regenerator
- babel-plugin-jest-hoist
- __test_modules__
- __tests__
- before-all-skipped
- __tests__
- browser-support
- chai-assertion-library-errors
- circus-concurrent
- __tests__
- circus-declaration-errors
- __tests__
- console-winston
- coverage-handlebars
- coverage-remapping
- coverage-report
- __mocks__
- coverage-transform-instrumented
- custom-resolver
- detect-open-handles/__tests__
- dom-diffing
- __tests__
- error-on-deprecated/__tests__
- expect-async-matcher
- failureDetails-property
- __tests__
- failures
- __tests__
- focused-tests/__tests__
- global-setup-custom-transform
- global-setup-node-modules
- global-setup
- project-1
- project-2
- global-teardown
- project-1
- project-2
- jasmine-async/__tests__
- location-in-results/__tests__
- modern-fake-timers
- from-config
- __tests__
- from-jest-object
- __tests__
- module-name-mapper-correct-mock-absolute-path
- __tests__
- src/components
- native-esm
- __tests__
- nested-test-definitions/__tests__
- node-path
- pnp
- __tests__
- promise-and-callback
- __tests__
- require-main-after-create-require
- __tests__
- require-main-isolate-modules
- __tests__
- require-main-reset-modules
- __tests__
- resolve/__tests__
- runtime-internal-module-registry/__mocks__
- select-projects-missing-name
- __tests__
- select-projects
- __tests__
- snapshot-serializers
- stack-trace-source-maps-with-coverage
- stack-trace-source-maps
- __tests__
- test-environment-async
- test-retries/__tests__
- transform-linked-modules
- transform
- babel-jest-manual
- babel-jest
- cache
- custom-instrumenting-preprocessor
- ecmascript-modules-support
- multiple-transformers
- __tests__
- src
- transformer-config
- typescript-coverage
- v8-coverage/no-sourcemap
- examples
- angular
- automatic-mocks/__tests__
- jquery
- manual-mocks
- __mocks__
- models/__mocks__
- module-mock/__tests__
- react-native
- react-testing-library
- react
- typescript
- __tests__
- fixtures
- packages
- babel-jest
- src
- __tests__
- babel-plugin-jest-hoist
- src
- __tests__
- __snapshots__
- babel-preset-jest
- diff-sequences
- perf
- src
- __tests__
- eslint-config-fb-strict
- expect
- src
- __tests__
- __snapshots__
- jest-changed-files
- src
- jest-circus
- src
- __mocks__
- __tests__
- legacy-code-todo-rewrite
- jest-cli
- src
- __tests__/cli
- cli
- init
- __tests__
- __snapshots__
- fixtures
- has-jest-config-file-cjs
- has-jest-config-file-json
- has-jest-config-file-js
- has-jest-config-file-mjs
- has-jest-config-file-ts
- has-jest-config-in-package-json
- no-package-json
- only-package-json
- test-generated-jest-config-ts
- test-script-configured
- type-module
- typescript-in-dependencies
- typescript-in-dev-dependencies
- jest-config
- src
- __mocks__
- __tests__
- jest-console
- src
- __tests__
- jest-core
- src
- __tests__
- __fixtures__
- __snapshots__
- test_root
- cli
- lib
- __tests__
- __snapshots__
- plugins
- jest-create-cache-key-function
- src
- __tests__
- jest-diff
- src
- __tests__
- __snapshots__
- jest-docblock
- 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-globals
- src
- jest-haste-map
- src
- __tests__
- __snapshots__
- test_dotfiles_root
- crawlers
- __tests__
- lib
- __tests__
- jest-jasmine2
- src
- __tests__
- __snapshots__
- jasmine
- jest-leak-detector
- src
- __tests__
- jest-matcher-utils
- src
- __tests__
- __snapshots__
- jest-message-util
- src
- __tests__
- __snapshots__
- jest-mock
- src
- __tests__
- jest-phabricator
- jest-regex-util
- src/__tests__
- jest-repl
- src
- __tests__
- cli
- jest-reporters
- src
- __tests__
- __snapshots__
- jest-resolve-dependencies
- __mocks__
- src
- __tests__
- __fixtures__/hasMocked
- __mocks__
- jest-resolve
- src
- __mocks__
- __tests__
- jest-runner
- src
- __tests__
- jest-runtime
- src
- __mocks__
- __tests__
- __snapshots__
- test_root
- __mocks__
- cli
- jest-serializer
- src
- __tests__
- jest-snapshot
- src
- __tests__
- __snapshots__
- jest-source-map
- src
- __tests__
- jest-test-result
- src
- __tests__
- jest-test-sequencer
- src
- __tests__
- jest-transform
- src
- __tests__
- __snapshots__
- jest-types
- src
- jest-util
- src
- __tests__
- jest-validate
- src
- __tests__
- __snapshots__
- fixtures
- jest-watcher
- src
- lib
- __tests__
- jest-worker
- src
- __performance_tests__
- __tests__
- base
- __tests__
- workers
- __tests__
- jest
- pretty-format
- perf
- src
- __tests__
- plugins
- lib
- test-utils
- src
- scripts
- test-types
- website
- blog
- core
- pages/en
- static/css
- versioned_docs
- version-22.x
- version-23.x
- version-24.x
- version-25.1
- version-25.3
- version-25.x
- version-26.0
- version-26.2
- version-26.4
- version-26.5
- version-26.6
- versioned_sidebars
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,003 files changed
+55391
-175473
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
24 | 23 | | |
25 | | - | |
| 24 | + | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | 29 | | |
31 | | - | |
| 30 | + | |
32 | 31 | | |
33 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 2 | | |
15 | 3 | | |
16 | 4 | | |
17 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
18 | 11 | | |
19 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
20 | 15 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | 16 | | |
38 | 17 | | |
39 | | - | |
40 | | - | |
| 18 | + | |
41 | 19 | | |
42 | 20 | | |
43 | | - | |
44 | | - | |
45 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
46 | 25 | | |
47 | 26 | | |
48 | 27 | | |
49 | 28 | | |
50 | 29 | | |
51 | 30 | | |
52 | 31 | | |
53 | | - | |
54 | | - | |
| 32 | + | |
55 | 33 | | |
56 | 34 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
60 | 39 | | |
61 | | - | |
| 40 | + | |
62 | 41 | | |
63 | 42 | | |
64 | 43 | | |
65 | 44 | | |
66 | 45 | | |
67 | | - | |
68 | | - | |
| 46 | + | |
69 | 47 | | |
70 | 48 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
74 | 53 | | |
75 | | - | |
| 54 | + | |
76 | 55 | | |
77 | 56 | | |
78 | 57 | | |
79 | | - | |
| 58 | + | |
80 | 59 | | |
81 | | - | |
82 | | - | |
| 60 | + | |
83 | 61 | | |
84 | 62 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
88 | 67 | | |
89 | | - | |
| 68 | + | |
90 | 69 | | |
91 | 70 | | |
92 | 71 | | |
93 | | - | |
| 72 | + | |
94 | 73 | | |
95 | | - | |
96 | | - | |
| 74 | + | |
97 | 75 | | |
98 | 76 | | |
99 | | - | |
100 | | - | |
101 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
102 | 81 | | |
103 | 82 | | |
104 | 83 | | |
105 | 84 | | |
106 | 85 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | 86 | | |
119 | 87 | | |
120 | | - | |
121 | | - | |
| 88 | + | |
122 | 89 | | |
123 | 90 | | |
124 | 91 | | |
125 | | - | |
126 | | - | |
127 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
128 | 96 | | |
129 | 97 | | |
130 | 98 | | |
| |||
134 | 102 | | |
135 | 103 | | |
136 | 104 | | |
137 | | - | |
138 | 105 | | |
139 | 106 | | |
140 | | - | |
141 | | - | |
| 107 | + | |
| 108 | + | |
142 | 109 | | |
143 | | - | |
144 | 110 | | |
145 | 111 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments