Skip to content
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

chore: Update @babel/* deps #13422

Merged
merged 16 commits into from Oct 11, 2022
Expand Up @@ -16,7 +16,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
14 | });
15 | });

at eventHandler (../../packages/jest-circus/build/eventHandler.js:153:11)
at eventHandler (../../packages/jest-circus/build/eventHandler.js:134:11)
at test (__tests__/asyncDefinition.test.js:12:5)

● Test suite failed to run
Expand All @@ -31,7 +31,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
15 | });
16 |

at eventHandler (../../packages/jest-circus/build/eventHandler.js:113:11)
at eventHandler (../../packages/jest-circus/build/eventHandler.js:97:11)
at afterAll (__tests__/asyncDefinition.test.js:13:5)

● Test suite failed to run
Expand All @@ -46,7 +46,7 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
20 | });
21 |

at eventHandler (../../packages/jest-circus/build/eventHandler.js:153:11)
at eventHandler (../../packages/jest-circus/build/eventHandler.js:134:11)
at test (__tests__/asyncDefinition.test.js:18:3)

● Test suite failed to run
Expand All @@ -60,6 +60,6 @@ exports[`defining tests and hooks asynchronously throws 1`] = `
20 | });
21 |

at eventHandler (../../packages/jest-circus/build/eventHandler.js:113:11)
at eventHandler (../../packages/jest-circus/build/eventHandler.js:97:11)
at afterAll (__tests__/asyncDefinition.test.js:19:3)"
`;
Expand Up @@ -20,6 +20,6 @@ exports[`prints console.logs when run with forceExit 3`] = `
" console.log
Hey

at Object.<anonymous> (__tests__/a-banana.js:1:1)
at Object.<anonymous> (__tests__/a-banana.js:1:41)
"
`;
24 changes: 12 additions & 12 deletions e2e/__tests__/__snapshots__/each.test.ts.snap
Expand Up @@ -60,15 +60,15 @@ exports[`shows error message when not enough arguments are supplied to tests 1`]

Missing 1 argument

6 | */
7 |
> 8 | it.each\`
| ^
9 | left | right
10 | \${true} | \${true}
11 | \${true}
> 12 | \`(
| ^
13 | 'throws exception when one argument too few are supplied $left == $right',
14 | ({left, right}) => {
15 | expect(left).toBe(right);

at Object.<anonymous> (__tests__/eachException.test.js:8:1)
at Object.<anonymous> (__tests__/eachException.test.js:12:2)

● throws exception when not enough arguments are supplied $left == $right

Expand All @@ -83,15 +83,15 @@ exports[`shows error message when not enough arguments are supplied to tests 1`]

Missing 2 arguments

17 | );
18 |
> 19 | it.each\`
| ^
20 | left | right | up | down
21 | \${true} | \${true}
22 | \`(
> 22 | \`(
| ^
23 | 'throws exception when not enough arguments are supplied $left == $right',
24 | ({left, right}) => {
25 | expect(left).toBe(right);

at Object.<anonymous> (__tests__/eachException.test.js:19:1)"
at Object.<anonymous> (__tests__/eachException.test.js:22:2)"
`;

exports[`shows only the tests with .only as being ran 1`] = `
Expand Down
4 changes: 2 additions & 2 deletions e2e/__tests__/__snapshots__/moduleNameMapper.test.ts.snap
Expand Up @@ -41,7 +41,7 @@ exports[`moduleNameMapper wrong array configuration 1`] = `
12 | module.exports = () => 'test';
13 |

at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:891:17)
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:752:17)
at Object.require (index.js:10:1)
at Object.require (__tests__/index.js:10:20)"
`;
Expand Down Expand Up @@ -71,7 +71,7 @@ exports[`moduleNameMapper wrong configuration 1`] = `
12 | module.exports = () => 'test';
13 |

at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:891:17)
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:752:17)
at Object.require (index.js:10:1)
at Object.require (__tests__/index.js:10:20)"
`;
2 changes: 1 addition & 1 deletion e2e/__tests__/__snapshots__/requireMissingExt.test.ts.snap
Expand Up @@ -26,7 +26,7 @@ exports[`shows a proper error from deep requires 1`] = `
12 | test('dummy', () => {
13 | expect(1).toBe(1);

at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:487:11)
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:425:11)
at Object.<anonymous> (node_modules/discord.js/src/index.js:21:12)
at Object.require (__tests__/test.js:10:1)"
`;
Expand Up @@ -37,7 +37,7 @@ exports[`show error message with matching files 1`] = `
| ^
9 |

at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:487:11)
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:425:11)
at Object.require (index.js:8:18)
at Object.require (__tests__/test.js:8:11)"
`;