Skip to content

Commit 7cc2322

Browse files
committed
snaps
1 parent 35bb010 commit 7cc2322

9 files changed

+14
-13
lines changed

e2e/__tests__/__snapshots__/circusDeclarationErrors.test.ts.snap

+4-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
1616
14 | });
1717
15 | });
1818
19-
at eventHandler (../../packages/jest-circus/build/eventHandler.js:134:11)
19+
at eventHandler (../../packages/jest-circus/build/jestAdapterInit.js:141:38)
2020
at test (__tests__/asyncDefinition.test.js:12:5)
2121
2222
● Test suite failed to run
@@ -31,7 +31,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
3131
15 | });
3232
16 |
3333
34-
at eventHandler (../../packages/jest-circus/build/eventHandler.js:97:11)
34+
at eventHandler (../../packages/jest-circus/build/jestAdapterInit.js:107:38)
3535
at afterAll (__tests__/asyncDefinition.test.js:13:5)
3636
3737
● Test suite failed to run
@@ -46,7 +46,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
4646
20 | });
4747
21 |
4848
49-
at eventHandler (../../packages/jest-circus/build/eventHandler.js:134:11)
49+
at eventHandler (../../packages/jest-circus/build/jestAdapterInit.js:141:38)
5050
at test (__tests__/asyncDefinition.test.js:18:3)
5151
5252
● Test suite failed to run
@@ -60,6 +60,6 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
6060
20 | });
6161
21 |
6262
63-
at eventHandler (../../packages/jest-circus/build/eventHandler.js:97:11)
63+
at eventHandler (../../packages/jest-circus/build/jestAdapterInit.js:107:38)
6464
at afterAll (__tests__/asyncDefinition.test.js:19:3)"
6565
`;

e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ exports[`moduleNameMapper wrong array configuration 1`] = `
4141
12 | module.exports = () => 'test';
4242
13 |
4343
44-
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:759:17)
44+
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1142:17)
4545
at Object.require (index.js:10:1)
4646
at Object.require (__tests__/index.js:10:20)"
4747
`;
@@ -71,7 +71,7 @@ exports[`moduleNameMapper wrong configuration 1`] = `
7171
12 | module.exports = () => 'test';
7272
13 |
7373
74-
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:759:17)
74+
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/index.js:1142:17)
7575
at Object.require (index.js:10:1)
7676
at Object.require (__tests__/index.js:10:20)"
7777
`;

e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ exports[`shows a proper error from deep requires 1`] = `
2626
12 | test('dummy', () => {
2727
13 | expect(1).toBe(1);
2828
29-
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:427:11)
29+
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:897:11)
3030
at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
3131
at Object.require (__tests__/test.js:10:1)"
3232
`;

e2e/__tests__/__snapshots__/resolveNoFileExtensions.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ exports[`show error message with matching files 1`] = `
3737
| ^
3838
9 |
3939
40-
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:427:11)
40+
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/index.js:897:11)
4141
at Object.require (index.js:8:18)
4242
at Object.require (__tests__/test.js:8:11)"
4343
`;

e2e/__tests__/__snapshots__/showConfig.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ exports[`--showConfig outputs config info and exits 1`] = `
7474
"/node_modules/"
7575
],
7676
"testRegex": [],
77-
"testRunner": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-circus/runner.js",
77+
"testRunner": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-circus/build/runner.js",
7878
"transform": [
7979
[
8080
"\\\\.[jt]sx?$",

e2e/__tests__/__snapshots__/testFailingJasmine.test.ts.snap

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ FAIL __tests__/worksWithConcurrentMode.test.js
4646
15 | });
4747
16 |
4848
49-
at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:164:11)
49+
at Function.failing (../../packages/jest-jasmine2/build/index.js:297:17)
5050
at Suite.failing (__tests__/worksWithConcurrentMode.test.js:13:17)
5151
at Object.describe (__tests__/worksWithConcurrentMode.test.js:8:1)
5252
@@ -80,7 +80,7 @@ FAIL __tests__/worksWithConcurrentOnlyMode.test.js
8080
15 | });
8181
16 |
8282
83-
at Function.failing (../../packages/jest-jasmine2/build/jasmineAsyncInstall.js:164:11)
83+
at Function.failing (../../packages/jest-jasmine2/build/index.js:297:17)
8484
at Suite.failing (__tests__/worksWithConcurrentOnlyMode.test.js:13:22)
8585
at Object.describe (__tests__/worksWithConcurrentOnlyMode.test.js:8:1)
8686

e2e/__tests__/__snapshots__/transform.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ exports[`babel-jest ignored tells user to match ignored files 1`] = `
66
77
babel-jest: Babel ignores __tests__/ignoredFile.test.js - make sure to include the file in Jest's transformIgnorePatterns as well.
88
9-
at assertLoadedBabelConfig (../../../packages/babel-jest/build/index.js:105:11)"
9+
at assertLoadedBabelConfig (../../../packages/babel-jest/build/index.js:138:11)"
1010
`;
1111

1212
exports[`babel-jest instruments only specific files and collects coverage 1`] = `

e2e/__tests__/stackTrace.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ describe('Stack Trace', () => {
8181
);
8282

8383
expect(stderr).toMatch(
84-
/\s+at\s(?:.+?)\s\((?:.+?)jest-resolve\/build\/resolver\.js/,
84+
/\s+at\s(?:.+?)\s\((?:.+?)jest-resolve\/build\/index\.js/,
8585
);
8686
});
8787

scripts/buildUtils.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ export function createWebpackConfigs() {
267267
],
268268
},
269269
optimization: {
270+
minimize: false,
270271
moduleIds: 'named',
271272
},
272273
output: {

0 commit comments

Comments
 (0)