Add the test title to the end of the lineage #157
Triggered via pull request
November 15, 2024 21:25
Status
Cancelled
Total duration
8m 58s
Artifacts
–
nodejs.yml
on: pull_request
prepare-yarn-cache-ubuntu
/
Prepare yarn cache for ubuntu-latest
3m 32s
prepare-yarn-cache-macos
/
Prepare yarn cache for macos-latest
3m 43s
prepare-yarn-cache-windows
/
Prepare yarn cache for windows-latest
4m 3s
TypeScript Compatibility
3m 44s
Lint
44s
Validate Yarn dependencies and constraints
14s
Build Jest for ABQ
2m 52s
Node LTS on Ubuntu with leak detection
50s
Matrix: test-coverage
Matrix: test-ubuntu / test-jasmine
Matrix: test-ubuntu / test
Matrix: test-macos / test-jasmine
Matrix: test-macos / test
Matrix: test-windows / test-jasmine
Matrix: test-windows / test
Annotations
199 errors
test-macos / Node v14.x on macos-latest (4/4)
Unable to find Node version '14.x' for platform darwin and architecture arm64.
|
test-macos / Node v14.x on macos-latest (2/4)
Unable to find Node version '14.x' for platform darwin and architecture arm64.
|
test-macos / Node v14.x on macos-latest (3/4)
Unable to find Node version '14.x' for platform darwin and architecture arm64.
|
test-macos / Node v14.x on macos-latest (1/4)
Unable to find Node version '14.x' for platform darwin and architecture arm64.
|
Lint
Process completed with exit code 1.
|
Node LTS on Ubuntu with leak detection
Process completed with exit code 1.
|
the jsdom console is the same as the test console:
jest/e2e/__tests__/console.test.ts#L92
expect(received).toMatchSnapshot()
Snapshot name: `the jsdom console is the same as the test console 2`
- Snapshot - 0
+ Received + 2
+ (node:12822) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
PASS __tests__/console.test.js
✓ can mock console.error calls from jsdom
at Object.toMatchSnapshot (e2e/__tests__/console.test.ts:92:16)
|
test-macos / Node LTS on macos-latest using jest-jasmine2 (4/4)
Process completed with exit code 1.
|
the jsdom console is the same as the test console:
jest/e2e/__tests__/console.test.ts#L92
expect(received).toMatchSnapshot()
Snapshot name: `the jsdom console is the same as the test console 2`
- Snapshot - 0
+ Received + 2
+ (node:4746) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
PASS __tests__/console.test.js
✓ can mock console.error calls from jsdom
at Object.toMatchSnapshot (e2e/__tests__/console.test.ts:92:16)
|
test-ubuntu / Node LTS on ubuntu-latest using jest-jasmine2 (4/4)
Process completed with exit code 1.
|
the jsdom console is the same as the test console:
e2e/__tests__/console.test.ts#L92
expect(received).toMatchSnapshot()
Snapshot name: `the jsdom console is the same as the test console 2`
- Snapshot - 0
+ Received + 2
+ (node:4836) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
PASS __tests__/console.test.js
✓ can mock console.error calls from jsdom
at Object.toMatchSnapshot (e2e/__tests__/console.test.ts:92:16)
|
defining tests and hooks asynchronously throws:
e2e/__tests__/circusDeclarationErrors.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `defining tests and hooks asynchronously throws 1`
- Snapshot - 27
+ Received + 28
@@ -3,59 +3,60 @@
● Test suite failed to run
Cannot add a test after tests have started running. Tests must be defined synchronously.
- 10 |
- 11 | Promise.resolve().then(() => {
+ 178 | } else if (hasStarted) {
- > 12 | test('async definition inside describe', () => {});
+ 179 | state.unhandledErrors.push(
+ > 180 | new Error(
- | ^
+ | ^
- 13 | afterAll(() => {});
+ 181 | 'Cannot add a test after tests have started running. Tests must be defined synchronously.'
- 14 | });
- 15 | });
+ 182 | )
+ 183 | );
at eventHandler (../../packages/jest-circus/build/eventHandler.js:180:11)
at test (__tests__/asyncDefinition.test.js:12:5)
● Test suite failed to run
Cannot add a hook after tests have started running. Hooks must be defined synchronously.
- 11 | Promise.resolve().then(() => {
+ 141 | } else if (hasStarted) {
- 12 | test('async definition inside describe', () => {});
+ 142 | state.unhandledErrors.push(
- > 13 | afterAll(() => {});
- | ^
+ > 143 | new Error(
+ | ^
- 14 | });
+ 144 | 'Cannot add a hook after tests have started running. Hooks must be defined synchronously.'
- 15 | });
+ 145 | )
- 16 |
+ 146 | );
at eventHandler (../../packages/jest-circus/build/eventHandler.js:143:11)
at afterAll (__tests__/asyncDefinition.test.js:13:5)
● Test suite failed to run
Cannot add a test after tests have started running. Tests must be defined synchronously.
- 16 |
- 17 | Promise.resolve().then(() => {
+ 178 | } else if (hasStarted) {
- > 18 | test('async definition outside describe', () => {});
- | ^
- 19 | afterAll(() => {});
- 20 | });
- 21 |
+ 179 | state.unhandledErrors.push(
+ > 180 | new Error(
+ | ^
+ 181 | 'Cannot add a test after tests have started running. Tests must be defined synchronously.'
+ 182 | )
+ 183 | );
at eventHandler (../../packages/jest-circus/build/eventHandler.js:180:11)
at test (__tests__/asyncDefinition.test.js:18:3)
● Test suite failed to run
Cannot add a hook after tests have started running. Hooks must be defined synchronously.
- 17 | Promise.resolve().then(() => {
+ 141 | } else if (hasStarted) {
- 18 | test('async definition outside describe', () => {});
- > 19 | afterAll(() => {});
- | ^
- 20 | });
- 21 |
+ 142 | state.unhandledErrors.push(
+ > 143 | new Error(
+ | ^
+ 144 | 'Cannot add a hook after tests have started running. Hooks must be defined synchronously.'
+ 145 | )
+ 146 | );
at eventHandler (../../packages/jest-circus/build/eventHandler.js:143:11)
at afterAll (__tests__/asyncDefinition.test.js:19:3)
at Object.toMatchSnapshot (e2e/__tests__/circusDeclarationErrors.test.ts:22:16)
|
Node LTS on Ubuntu with coverage (4/4)
Process completed with exit code 1.
|
print correct error message with nested test definitions outside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L29
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions outside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestOutsideDescribe.js
+ "(node:7423) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestOutsideDescribe.js
✕ outer test
● outer test
Tests cannot be nested. Test "inner test" cannot run because it is nested within "outer test".
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:29:44)
|
print correct error message with nested test definitions inside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L39
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions inside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestWithinDescribe.js
+ "(node:7487) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestWithinDescribe.js
in describe
✕ outer test
● in describe › outer test
↵
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:39:44)
|
test-macos / Node LTS on macos-latest using jest-jasmine2 (1/4)
Process completed with exit code 1.
|
on node >=16.12.0 › supports import assertions:
jest/e2e/__tests__/nativeEsm.test.ts#L122
expect(received).toMatchSnapshot()
Snapshot name: `on node >=16.12.0 supports import assertions 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites matching /native-esm-import-assertions.test/i.
at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:122:21)
|
should work without error:
jest/e2e/__tests__/domDiffing.test.ts#L16
expect(received).toMatchSnapshot()
Snapshot name: `should work without error 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/dom.test.js
+ "(node:10248) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/dom.test.js
✕ use toBe compare two div
✕ compare span and div
● use toBe compare two div
↵
at Object.toMatchSnapshot (e2e/__tests__/domDiffing.test.ts:16:16)
|
test-macos / Node LTS on macos-latest using jest-jasmine2 (3/4)
Process completed with exit code 1.
|
print correct error message with nested test definitions outside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L29
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions outside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestOutsideDescribe.js
+ "(node:3661) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestOutsideDescribe.js
✕ outer test
● outer test
Tests cannot be nested. Test "inner test" cannot run because it is nested within "outer test".
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:29:44)
|
print correct error message with nested test definitions inside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L39
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions inside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestWithinDescribe.js
+ "(node:3782) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestWithinDescribe.js
in describe
✕ outer test
● in describe › outer test
↵
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:39:44)
|
test-ubuntu / Node LTS on ubuntu-latest using jest-jasmine2 (1/4)
Process completed with exit code 1.
|
print correct error message with nested test definitions outside describe:
e2e/__tests__/nestedTestDefinitions.test.ts#L29
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions outside describe 1`
- Snapshot - 8
+ Received + 10
- "FAIL __tests__/nestedTestOutsideDescribe.js
+ "(node:3676) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestOutsideDescribe.js
✕ outer test
● outer test
Tests cannot be nested. Test "inner test" cannot run because it is nested within "outer test".
- 13 | expect(getTruthy()).toBeTruthy();
+ 171 | if (currentlyRunningTest) {
- 14 |
- > 15 | test('inner test', () => {
- | ^
+ 172 | currentlyRunningTest.errors.push(
+ > 173 | new Error(
+ | ^
- 16 | expect(getTruthy()).toBe('This test should not have run');
+ 174 | `Tests cannot be nested. Test "${name}" cannot run because it is nested within "${currentlyRunningTest.name}".`
- 17 | });
+ 175 | )
- 18 | });
+ 176 | );
at Object.test (__tests__/nestedTestOutsideDescribe.js:15:3)"
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:29:44)
|
print correct error message with nested test definitions inside describe:
e2e/__tests__/nestedTestDefinitions.test.ts#L39
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions inside describe 1`
- Snapshot - 8
+ Received + 10
- "FAIL __tests__/nestedTestWithinDescribe.js
+ "(node:3851) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestWithinDescribe.js
in describe
✕ outer test
● in describe › outer test
Tests cannot be nested. Test "inner test" cannot run because it is nested within "outer test".
- 14 | expect(getTruthy()).toBeTruthy();
+ 171 | if (currentlyRunningTest) {
+ 172 | currentlyRunningTest.errors.push(
- 15 |
- > 16 | test('inner test', () => {
- | ^
+ > 173 | new Error(
+ | ^
- 17 | expect(getTruthy()).toBeTruthy();
+ 174 | `Tests cannot be nested. Test "${name}" cannot run because it is nested within "${currentlyRunningTest.name}".`
- 18 | });
+ 175 | )
- 19 | });
+ 176 | );
at Object.test (__tests__/nestedTestWithinDescribe.js:16:5)"
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:39:44)
|
moduleNameMapper wrong configuration:
e2e/__tests__/moduleNameMapper.test.ts#L16
expect(received).toMatchSnapshot()
Snapshot name: `moduleNameMapper wrong configuration 1`
- Snapshot - 7
+ Received + 7
@@ -12,16 +12,16 @@
"/\.(css|less)$/": "no-such-module"
},
"resolver": undefined
}
- 8 | 'use strict';
- 9 |
- > 10 | require('./style.css');
- | ^
- 11 |
+ 757 | }]` /// align last bracket correctly as well
+ 758 | : mappedModuleName;
+ > 759 | const error = new Error(
+ | ^
- 12 | module.exports = () => 'test';
- 13 |
+ 760 | _chalk().default.red(`${_chalk().default.bold('Configuration error')}:
+ 761 |
+ 762 | Could not locate module ${_chalk().default.bold(moduleName)} mapped as:
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:759:17)
at Object.require (index.js:10:1)
at Object.require (__tests__/index.js:10:20)"
at Object.toMatchSnapshot (e2e/__tests__/moduleNameMapper.test.ts:16:16)
|
moduleNameMapper wrong array configuration:
e2e/__tests__/moduleNameMapper.test.ts#L24
expect(received).toMatchSnapshot()
Snapshot name: `moduleNameMapper wrong array configuration 1`
- Snapshot - 7
+ Received + 7
@@ -18,16 +18,16 @@
]"
},
"resolver": undefined
}
- 8 | 'use strict';
- 9 |
- > 10 | require('./style.css');
- | ^
- 11 |
+ 757 | }]` /// align last bracket correctly as well
+ 758 | : mappedModuleName;
+ > 759 | const error = new Error(
+ | ^
- 12 | module.exports = () => 'test';
- 13 |
+ 760 | _chalk().default.red(`${_chalk().default.bold('Configuration error')}:
+ 761 |
+ 762 | Could not locate module ${_chalk().default.bold(moduleName)} mapped as:
at createNoMappedModuleFoundError (../../packages/jest-resolve/build/resolver.js:759:17)
at Object.require (index.js:10:1)
at Object.require (__tests__/index.js:10:20)"
at Object.toMatchSnapshot (e2e/__tests__/moduleNameMapper.test.ts:24:16)
|
shows the correct errors in stderr when failing tests:
e2e/__tests__/expectAsyncMatcher.test.ts#L33
expect(received).toMatchSnapshot()
Snapshot name: `shows the correct errors in stderr when failing tests 1`
- Snapshot - 14
+ Received + 14
@@ -49,17 +49,17 @@
Received:
1
received.length:
1
- 17 |
+ 164 | );
- 18 | it('fail with expected promise values', () =>
+ 165 | }
- > 19 | expect(Promise.resolve([1])).resolves.toHaveLengthAsync(Promise.resolve(2)));
+ > 166 | const innerErr = new JestAssertionError();
- | ^
+ | ^
+ 167 | return actual.then(
- 20 |
- 21 | it('fail with expected promise values and not', () =>
- 22 | expect(Promise.resolve([1, 2])).resolves.not.toHaveLengthAsync(
+ 168 | result =>
+ 169 | makeThrowingMatcher(matcher, isNot, 'resolves', result, innerErr).apply(
at Object.toHaveLengthAsync (__tests__/failure.test.js:19:41)
● fail with expected promise values and not
@@ -68,14 +68,14 @@
Received:
1,2
received.length:
2
- 20 |
- 21 | it('fail with expected promise values and not', () =>
+ 164 | );
+ 165 | }
- > 22 | expect(Promise.resolve([1, 2])).resolves.not.toHaveLengthAsync(
- | ^
+ > 166 | const innerErr = new JestAssertionError();
+ | ^
+ 167 | return actual.then(
+ 168 | result =>
- 23 | Promise.resolve(2),
- 24 | ));
- 25 |
+ 169 | makeThrowingMatcher(matcher, isNot, 'resolves', result, innerErr).apply(
at Object.toHaveLengthAsync (__tests__/failure.test.js:22:48)
at Object.toMatchSnapshot (e2e/__tests__/expectAsyncMatcher.test.ts:33:16)
|
shows a proper error from deep requires:
e2e/__tests__/requireMissingExt.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `shows a proper error from deep requires 1`
- Snapshot - 7
+ Received + 7
@@ -13,15 +13,15 @@
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
- 8 | 'use strict';
- 9 |
- > 10 | require('discord.js');
- | ^
- 11 |
+ 425 | (0, _slash().default)(path().relative(this._options.rootDir, from)) ||
+ 426 | '.';
+ > 427 | throw new _ModuleNotFoundError.default(
+ | ^
- 12 | test('dummy', () => {
+ 428 | `Cannot find module '${moduleName}' from '${relativePath}'`,
+ 429 | moduleName
- 13 | expect(1).toBe(1);
+ 430 | );
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:427:11)
at Object.require (__tests__/test.js:10:1)
at Object.toMatchSnapshot (e2e/__tests__/requireMissingExt.test.ts:22:16)
|
Node LTS on Ubuntu with coverage (1/4)
Process completed with exit code 1.
|
should return the error cause if there is one:
packages/jest-message-util/src/__tests__/messages.test.ts#L581
expect(received).toMatchSnapshot()
Snapshot name: `should return the error cause if there is one 1`
- Snapshot - 0
+ Received + 4
" <bold>● </intensity>Test suite failed to run
Test exception
+
+
<dim>at Object.<anonymous> (</intensity>packages/jest-message-util/src/__tests__/messages.test.ts<dim>:567:17)</intensity>
Cause:
Cause Error
+
+
<dim>at Object.<anonymous> (</intensity>packages/jest-message-util/src/__tests__/messages.test.ts<dim>:570:17)</intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:581:19)
|
on node >=15.0.0 › should return the inner errors of an AggregateError:
packages/jest-message-util/src/__tests__/messages.test.ts#L602
expect(received).toMatchSnapshot()
Snapshot name: `on node >=15.0.0 should return the inner errors of an AggregateError 1`
- Snapshot - 0
+ Received + 4
@@ -5,12 +5,16 @@
<dim>at Object.<anonymous> (</intensity>packages/jest-message-util/src/__tests__/messages.test.ts<dim>:588:22)</intensity>
Errors contained in AggregateError:
Err 1
+
+
<dim>at Object.<anonymous> (</intensity>packages/jest-message-util/src/__tests__/messages.test.ts<dim>:589:7)</intensity>
Err 2
+
+
<dim>at Object.<anonymous> (</intensity>packages/jest-message-util/src/__tests__/messages.test.ts<dim>:590:7)</intensity>
"
at Object.toMatchSnapshot (packages/jest-message-util/src/__tests__/messages.test.ts:602:21)
|
basic support:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L34
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/basic-support.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 1.596 s
Ran all test suites matching /basic-support.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:34:20)
|
do not indent empty lines:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L85
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/empty-line-indent.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.595 s
Ran all test suites matching /empty-line-indent.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:85:20)
|
handles property matchers:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L111
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/handle-property-matchers.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.627 s
Ran all test suites matching /handle-property-matchers.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:111:20)
|
removes obsolete external snapshots:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L180
expect(received).toMatch(expected)
Expected substring: "Snapshots: 1 obsolete, 1 written, 1 total"
Received string: "FAIL __tests__/removes-obsolete-external-snapshots.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.629 s, estimated 1 s
Ran all test suites matching /removes-obsolete-external-snapshots.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:180:20)
|
supports async matchers:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L213
expect(received).toMatch(expected)
Expected substring: "2 snapshots written from 1 test suite."
Received string: "FAIL __tests__/async-matchers.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.77 s
Ran all test suites matching /async-matchers.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:213:18)
|
supports async tests:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L230
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/async.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.717 s
Ran all test suites matching /async.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:230:18)
|
writes snapshots with non-literals in expect(...):
e2e/__tests__/toMatchInlineSnapshot.test.ts#L247
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/async.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.748 s
Ran all test suites matching /async.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:247:18)
|
handles mocking native modules prettier relies on:
e2e/__tests__/toMatchInlineSnapshot.test.ts#L266
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/mockFail.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.849 s
Ran all test suites matching /mockFail.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchInlineSnapshot.test.ts:266:18)
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-ubuntu / Node v18.x on ubuntu-latest (3/4)
Process completed with exit code 1.
|
Watch mode flows › makes watch plugin initialization errors look nice:
packages/expect/build/index.js#L210
expect(received).rejects.toMatchSnapshot()
Snapshot name: `Watch mode flows makes watch plugin initialization errors look nice 1`
Snapshot: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
Received: [Error: Failed to initialize watch plugin "packages/jest-core/src/__tests__/__fixtures__/watchPluginThrows":
● Test suite failed to run
initialization error
6 | */
7 |
> 8 | throw new Error('initialization error');
| ^
9 |
at Object.<anonymous> (__fixtures__/watchPluginThrows.js:8:7)
]
at Object.toMatchSnapshot (packages/expect/build/index.js:210:22)
|
empty internal ci false:
e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts#L83
expect(received).toMatch(expected)
Expected substring: "1 snapshot written from 1 test suite."
Received string: "FAIL __tests__/empty-internal-ci-false.test.js
● Test suite failed to run·
Jest: Couldn't locate all inline snapshots.·
301 | });
302 | if (remainingSnapshots.size) {
> 303 | throw new Error(\"Jest: Couldn't locate all inline snapshots.\");
| ^
304 | }
305 | };
306 | const runPrettier = (·
at traverseAst (../../packages/jest-snapshot/build/InlineSnapshots.js:303:11)·
Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 0.553 s
Ran all test suites matching /empty-internal-ci-false.test.js/i."
at Object.toMatch (e2e/__tests__/toMatchSnapshotWithStringSerializer.test.ts:83:20)
|
successfully runs the tests with external babel config:
e2e/__tests__/toMatchInlineSnapshotWithJSX.test.ts#L109
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/toMatchInlineSnapshotWithJSX.test.ts:109:38)
|
successfully runs the tests with inline babel config:
e2e/__tests__/toMatchInlineSnapshotWithJSX.test.ts#L158
expect(received).toBe(expected) // Object.is equality
Expected: 0
Received: 1
at Object.toBe (e2e/__tests__/toMatchInlineSnapshotWithJSX.test.ts:158:38)
|
--showConfig outputs config info and exits:
e2e/__tests__/showConfig.test.ts#L43
expect(received).toMatchSnapshot()
Snapshot name: `--showConfig outputs config info and exits 1`
- Snapshot - 5
+ Received + 5
@@ -48,37 +48,37 @@
"restoreMocks": false,
"rootDir": "<<REPLACED_ROOT_DIR>>",
"roots": [
"<<REPLACED_ROOT_DIR>>"
],
- "runner": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-runner/build/index.js",
+ "runner": "/home/runner/work/jest-abq/jest-abq/packages/jest-runner/build/index.js",
"sandboxInjectedGlobals": [],
"setupFiles": [],
"setupFilesAfterEnv": [],
"skipFilter": false,
"slowTestThreshold": 5,
"snapshotFormat": {
"escapeString": false,
"printBasicPrototype": false
},
"snapshotSerializers": [],
- "testEnvironment": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-environment-node/build/index.js",
+ "testEnvironment": "/home/runner/work/jest-abq/jest-abq/packages/jest-environment-node/build/index.js",
"testEnvironmentOptions": {},
"testLocationInResults": false,
"testMatch": [
"**/__tests__/**/*.[jt]s?(x)",
"**/?(*.)+(spec|test).[tj]s?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/"
],
"testRegex": [],
- "testRunner": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-circus/runner.js",
+ "testRunner": "/home/runner/work/jest-abq/jest-abq/packages/jest-circus/runner.js",
"transform": [
[
"\\.[jt]sx?$",
- "<<REPLACED_JEST_PACKAGES_DIR>>/babel-jest/build/index.js",
+ "/home/runner/work/jest-abq/jest-abq/packages/babel-jest/build/index.js",
{}
]
],
"transformIgnorePatterns": [
"/node_modules/",
@@ -130,11 +130,11 @@
"escapeString": false,
"printBasicPrototype": false
},
"testFailureExitCode": 1,
"testPathPattern": "",
- "testSequencer": "<<REPLACED_JEST_PACKAGES_DIR>>/jest-test-sequencer/build/index.js",
+ "testSequencer": "/home/runner/work/jest-abq/jest-abq/packages/jest-test-sequencer/build/index.js",
"updateSnapshot": "none",
"useStderr": false,
"watch": false,
"watchAll": false,
"watchman": true,
at Object.toMatchSnapshot (e2e/__tests__/showConfig.test.ts:43:18)
|
babel-jest ignored › tells user to match ignored files:
e2e/__tests__/transform.test.ts#L54
expect(received).toMatchSnapshot()
Snapshot name: `babel-jest ignored tells user to match ignored files 1`
- Snapshot - 0
+ Received + 8
FAIL __tests__/ignoredFile.test.js
● Test suite failed to run
babel-jest: Babel ignores __tests__/ignoredFile.test.js - make sure to include the file in Jest's transformIgnorePatterns as well.
+ 103 | function assertLoadedBabelConfig(babelConfig, cwd, filename) {
+ 104 | if (!babelConfig) {
+ > 105 | throw new Error(
+ | ^
+ 106 | `babel-jest: Babel ignores ${_chalk().default.bold(
+ 107 | (0, _slash().default)(path().relative(cwd, filename))
+ 108 | )} - make sure to include the file in Jest's ${_chalk().default.bold(
+
at assertLoadedBabelConfig (../../../packages/babel-jest/build/index.js:105:11)
at Object.toMatchSnapshot (e2e/__tests__/transform.test.ts:54:41)
|
show error message with matching files:
e2e/__tests__/resolveNoFileExtensions.test.ts#L22
expect(received).toMatchSnapshot()
Snapshot name: `show error message with matching files 1`
- Snapshot - 5
+ Received + 7
@@ -13,14 +13,16 @@
You might want to include a file extension in your import, or update your 'moduleFileExtensions', which is currently ['js'].
See https://jestjs.io/docs/configuration#modulefileextensions-arraystring
- 6 | */
- 7 |
- > 8 | module.exports = require('./some-json-file');
- | ^
- 9 |
+ 425 | (0, _slash().default)(path().relative(this._options.rootDir, from)) ||
+ 426 | '.';
+ > 427 | throw new _ModuleNotFoundError.default(
+ | ^
+ 428 | `Cannot find module '${moduleName}' from '${relativePath}'`,
+ 429 | moduleName
+ 430 | );
at Resolver._throwModNotFoundError (../../packages/jest-resolve/build/resolver.js:427:11)
at Object.require (index.js:8:18)
at Object.require (__tests__/test.js:8:11)
at Object.toMatchSnapshot (e2e/__tests__/resolveNoFileExtensions.test.ts:22:16)
|
Wrong globals for environment › print useful error for navigator:
e2e/__tests__/wrongEnv.test.ts#L13
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at toBe (e2e/__tests__/wrongEnv.test.ts:13:27)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:27:5)
|
Wrong globals for environment › print useful error for unref:
e2e/__tests__/wrongEnv.test.ts#L14
expect(received).toMatchSnapshot()
Snapshot name: `Wrong globals for environment print useful error for unref 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/jsdom.js
+ "(node:6293) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/jsdom.js
✕ use unref
● use unref
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
at toMatchSnapshot (e2e/__tests__/wrongEnv.test.ts:14:46)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:31:5)
|
Node LTS on Ubuntu with coverage (2/4)
Process completed with exit code 1.
|
Wrong globals for environment › print useful error for navigator:
jest/e2e/__tests__/wrongEnv.test.ts#L13
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at toBe (e2e/__tests__/wrongEnv.test.ts:13:27)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:27:5)
|
Wrong globals for environment › print useful error for unref:
jest/e2e/__tests__/wrongEnv.test.ts#L14
expect(received).toMatchSnapshot()
Snapshot name: `Wrong globals for environment print useful error for unref 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/jsdom.js
+ "(node:6318) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/jsdom.js
✕ use unref
● use unref
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
at toMatchSnapshot (e2e/__tests__/wrongEnv.test.ts:14:46)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:31:5)
|
test-ubuntu / Node LTS on ubuntu-latest using jest-jasmine2 (2/4)
Process completed with exit code 1.
|
on node >=16.12.0 › supports import assertions:
jest/e2e/__tests__/nativeEsm.test.ts#L122
expect(received).toMatchSnapshot()
Snapshot name: `on node >=16.12.0 supports import assertions 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites matching /native-esm-import-assertions.test/i.
at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:122:21)
|
should work without error:
jest/e2e/__tests__/domDiffing.test.ts#L16
expect(received).toMatchSnapshot()
Snapshot name: `should work without error 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/dom.test.js
+ "(node:6250) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/dom.test.js
✕ use toBe compare two div
✕ compare span and div
● use toBe compare two div
↵
at Object.toMatchSnapshot (e2e/__tests__/domDiffing.test.ts:16:16)
|
test-ubuntu / Node LTS on ubuntu-latest using jest-jasmine2 (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-macos / Node v19.x on macos-latest (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-ubuntu / Node v16.x on ubuntu-latest (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-macos / Node v16.x on macos-latest (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-ubuntu / Node v14.x on ubuntu-latest (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-ubuntu / Node v19.x on ubuntu-latest (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-macos / Node v18.x on macos-latest (3/4)
Process completed with exit code 1.
|
notify › does not report --notify flag:
jest/e2e/__tests__/detectOpenHandles.ts#L111
expect(received).toBe(expected) // Object.is equality
Expected: ""
Received: "Jest did not exit one second after the test run has completed.·
'This usually means that there are asynchronous operations that weren't stopped in your tests. Consider running Jest with `--detectOpenHandles` to troubleshoot this issue."
at Object.toBe (e2e/__tests__/detectOpenHandles.ts:111:27)
|
Wrong globals for environment › print useful error for navigator:
jest/e2e/__tests__/wrongEnv.test.ts#L13
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at toBe (e2e/__tests__/wrongEnv.test.ts:13:27)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:27:5)
|
Wrong globals for environment › print useful error for unref:
jest/e2e/__tests__/wrongEnv.test.ts#L14
expect(received).toMatchSnapshot()
Snapshot name: `Wrong globals for environment print useful error for unref 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/jsdom.js
+ "(node:13592) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/jsdom.js
✕ use unref
● use unref
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
at toMatchSnapshot (e2e/__tests__/wrongEnv.test.ts:14:46)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:31:5)
|
test-macos / Node LTS on macos-latest using jest-jasmine2 (2/4)
Process completed with exit code 1.
|
TypeScript Compatibility:
node_modules/@tsconfig/node14/tsconfig.json#L7
Argument for '--module' option must be: 'none', 'commonjs', 'amd', 'system', 'umd', 'es6', 'es2015', 'es2020', 'esnext'.
|
TypeScript Compatibility:
node_modules/@tsconfig/node14/tsconfig.json#L13
Argument for '--moduleResolution' option must be: 'node', 'classic'.
|
TypeScript Compatibility
Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from "mod"', 'import {a} from "mod"', 'import d from "mod"', or another module format instead.
|
TypeScript Compatibility
Process completed with exit code 1.
|
the jsdom console is the same as the test console:
jest/e2e/__tests__/console.test.ts#L92
expect(received).toMatchSnapshot()
Snapshot name: `the jsdom console is the same as the test console 2`
- Snapshot - 0
+ Received + 2
+ (node:5744) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
PASS __tests__/console.test.js
✓ can mock console.error calls from jsdom
at Object.toMatchSnapshot (e2e/__tests__/console.test.ts:92:16)
|
test-windows / Node LTS on windows-latest using jest-jasmine2 (4/4)
Process completed with exit code 1.
|
Node crawler does not pick up symlinked files by default:
jest/e2e/Utils.ts#L112
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:112:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
|
Should throw if watchman used with haste.enableSymlinks:
jest/e2e/Utils.ts#L112
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:112:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:15:10)
|
Should throw if watchman used with haste.enableSymlinks:
jest/e2e/Utils.ts#L112
EBUSY: resource busy or locked, rmdir '\\?\C:\Users\RUNNER~1\AppData\Local\Temp\crawl-symlinks-test'
at rmSync (e2e/Utils.ts:112:8)
at Object.<anonymous> (e2e/__tests__/crawlSymlinks.test.ts:36:10)
|
test-windows / Node v19.x on windows-latest (4/4)
Process completed with exit code 1.
|
print correct error message with nested test definitions outside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L29
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions outside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestOutsideDescribe.js
+ "(node:4768) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestOutsideDescribe.js
✕ outer test
● outer test
Tests cannot be nested. Test "inner test" cannot run because it is nested within "outer test".
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:29:44)
|
print correct error message with nested test definitions inside describe:
jest/e2e/__tests__/nestedTestDefinitions.test.ts#L39
expect(received).toMatchSnapshot()
Snapshot name: `print correct error message with nested test definitions inside describe 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/nestedTestWithinDescribe.js
+ "(node:2724) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/nestedTestWithinDescribe.js
in describe
✕ outer test
● in describe › outer test
↵
at Object.toMatchSnapshot (e2e/__tests__/nestedTestDefinitions.test.ts:39:44)
|
collects coverage only from specified file:
jest/e2e/__tests__/coverageReport.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `collects coverage only from specified file 1`
- Snapshot - 6
+ Received + 0
- ----------|---------|----------|---------|---------|-------------------
- File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
- ----------|---------|----------|---------|---------|-------------------
- All files | 100 | 100 | 100 | 100 |
- file.js | 100 | 100 | 100 | 100 |
- ----------|---------|----------|---------|---------|-------------------
at Object.toMatchSnapshot (e2e/__tests__/coverageReport.test.ts:49:18)
|
moduleNameMapper with mocking:
node:internal/child_process#L511
Can't parse JSON.
ERROR: SyntaxError Unexpected end of JSON input
STDOUT:
STDERR: node:events:496
throw er; // Unhandled 'error' event
^
Error: kill EPERM
at ChildProcess.kill (node:internal/child_process:511:26)
at listOnTimeout (node:internal/timers:594:17)
at process.processTimers (node:internal/timers:529:7)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess.kill (node:internal/child_process:511:12)
[... lines matching original stack trace ...]
at process.processTimers (node:internal/timers:529:7) {
errno: -4048,
code: 'EPERM',
syscall: 'kill'
}
Node.js v22.11.0
at json (e2e/runJest.ts:158:11)
at Object.<anonymous> (e2e/__tests__/moduleNameMapper.test.ts:52:29)
|
test-windows / Node LTS on windows-latest using jest-jasmine2 (1/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-windows / Node v14.x on windows-latest (3/4)
Process completed with exit code 1.
|
on node >=16.12.0 › supports import assertions:
jest/e2e/__tests__/nativeEsm.test.ts#L122
expect(received).toMatchSnapshot()
Snapshot name: `on node >=16.12.0 supports import assertions 1`
- Snapshot - 2
+ Received + 2
- Test Suites: 1 passed, 1 total
+ Test Suites: 1 failed, 1 total
- Tests: 2 passed, 2 total
+ Tests: 0 total
Snapshots: 0 total
Time: <<REPLACED>>
Ran all test suites matching /native-esm-import-assertions.test/i.
at Object.toMatchSnapshot (e2e/__tests__/nativeEsm.test.ts:122:21)
|
should work without error:
jest/e2e/__tests__/domDiffing.test.ts#L16
expect(received).toMatchSnapshot()
Snapshot name: `should work without error 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/dom.test.js
+ "(node:6968) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/dom.test.js
✕ use toBe compare two div
✕ compare span and div
● use toBe compare two div
↵
at Object.toMatchSnapshot (e2e/__tests__/domDiffing.test.ts:16:16)
|
test-windows / Node LTS on windows-latest using jest-jasmine2 (3/4)
Process completed with exit code 1.
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-windows / Node v18.x on windows-latest (3/4)
Process completed with exit code 1.
|
test-windows / Node v14.x on windows-latest (2/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
test-windows / Node v14.x on windows-latest (2/4)
The operation was canceled.
|
test-windows / Node v19.x on windows-latest (3/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-windows / Node v19.x on windows-latest (3/4)
The operation was canceled.
|
test-windows / Node v19.x on windows-latest (2/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
test-windows / Node v19.x on windows-latest (2/4)
The operation was canceled.
|
test-windows / Node LTS on windows-latest using jest-jasmine2 (2/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
Wrong globals for environment › print useful error for navigator:
jest/e2e/__tests__/wrongEnv.test.ts#L13
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
at toBe (e2e/__tests__/wrongEnv.test.ts:13:27)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:27:5)
|
Wrong globals for environment › print useful error for unref:
jest/e2e/__tests__/wrongEnv.test.ts#L14
expect(received).toMatchSnapshot()
Snapshot name: `Wrong globals for environment print useful error for unref 1`
- Snapshot - 1
+ Received + 3
@@ -1,6 +1,8 @@
- "FAIL __tests__/jsdom.js
+ "(node:6436) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
+ (Use `node --trace-deprecation ...` to show where the warning was created)
+ FAIL __tests__/jsdom.js
✕ use unref
● use unref
The error below may be caused by using the wrong test environment, see https://jestjs.io/docs/configuration#testenvironment-string.
at toMatchSnapshot (e2e/__tests__/wrongEnv.test.ts:14:46)
at Object.assertFailuresAndSnapshot (e2e/__tests__/wrongEnv.test.ts:31:5)
|
test-windows / Node LTS on windows-latest using jest-jasmine2 (2/4)
The operation was canceled.
|
test-windows / Node v16.x on windows-latest (2/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
test-windows / Node v16.x on windows-latest (2/4)
The operation was canceled.
|
test-windows / Node v16.x on windows-latest (3/4)
Canceling since a higher priority waiting request for 'Node CI-tg-lineage' exists
|
Generates test IDs for tests in a monorepo relative to the monorepo root:
jest/e2e/__tests__/abq.test.ts#L135
expect(received).toMatchSnapshot()
Snapshot name: `Generates test IDs for tests in a monorepo relative to the monorepo root 2`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg2/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg2/__tests__/test.test.js",
"line": 9,
},
@@ -19,11 +21,13 @@
],
Array [
Object {
"display_name": "mytest",
"id": "packages/pkg1/__tests__/test.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "mytest",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq-monorepo/packages/pkg1/__tests__/test.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:135:34)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:126:7)
|
ABQ_SOCKET runs Jest in ABQ mode:
jest/e2e/__tests__/abq.test.ts#L173
expect(received).toMatchSnapshot()
Snapshot name: `ABQ_SOCKET runs Jest in ABQ mode 1`
- Snapshot - 2
+ Received + 9
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is failing",
"id": "__tests__/failing.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 9,
},
@@ -40,11 +42,13 @@
},
},
Object {
"display_name": "this test is also failing",
"id": "__tests__/failing.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is also failing",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/failing.test.js",
"line": 13,
},
@@ -82,10 +86,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -100,10 +105,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -119,10 +125,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:173:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:164:3)
|
Reports all tests in a file:
jest/e2e/__tests__/abq.test.ts#L201
expect(received).toMatchSnapshot()
Snapshot name: `Reports all tests in a file 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "the + operator 1 + 2 equals 3",
"id": "__tests__/sum.test.js#0:0:0",
"lineage": Array [
"the + operator",
+ "1 + 2 equals 3",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 10,
@@ -21,10 +22,11 @@
Object {
"display_name": "the + operator 2 + 3 equals 5",
"id": "__tests__/sum.test.js#1:0:0",
"lineage": Array [
"the + operator",
+ "2 + 3 equals 5",
],
"location": Object {
"column": 3,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 14,
@@ -40,10 +42,11 @@
"display_name": "the + operator with three operands 2 + 3 + 4 equals 9",
"id": "__tests__/sum.test.js#0:2:0:0",
"lineage": Array [
"the + operator",
"with three operands",
+ "2 + 3 + 4 equals 9",
],
"location": Object {
"column": 5,
"file": "<<REPLACED>>/e2e/abq/__tests__/sum.test.js",
"line": 19,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:201:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:192:3)
|
ABQ mode handles errors in a test:
jest/e2e/__tests__/abq.test.ts#L267
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles errors in a test 1`
- Snapshot - 1
+ Received + 3
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "this test is erroring",
"id": "__tests__/errors.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "this test is erroring",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/errors.test.js",
"line": 9,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:267:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:258:3)
|
ABQ mode handles skipped tests:
jest/e2e/__tests__/abq.test.ts#L323
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles skipped tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one skipped test",
"id": "__tests__/skip.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other skipped test",
"id": "__tests__/skip.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other skipped test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/skip.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:323:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:314:3)
|
ABQ mode handles todo tests:
jest/e2e/__tests__/abq.test.ts#L351
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles todo tests 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "one todo test",
"id": "__tests__/todo.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "one todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "other todo test",
"id": "__tests__/todo.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "other todo test",
+ ],
"location": Object {
"column": 6,
"file": "<<REPLACED>>/e2e/abq/__tests__/todo.test.js",
"line": 11,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:351:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:342:3)
|
ABQ mode handles ID generation for tests in loops:
jest/e2e/__tests__/abq.test.ts#L391
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles ID generation for tests in loops 1`
- Snapshot - 0
+ Received + 9
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -57,10 +60,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -75,10 +79,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -93,10 +98,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -111,10 +117,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -129,10 +136,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -147,10 +155,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:391:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:370:3)
|
ABQ mode runs focused tests:
jest/e2e/__tests__/abq.test.ts#L444
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode runs focused tests 1`
- Snapshot - 0
+ Received + 3
@@ -3,10 +3,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#0:0:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -21,10 +22,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#2:1:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
@@ -39,10 +41,11 @@
Object {
"display_name": "looper i == i",
"id": "__tests__/looped.test.js#1:2:0",
"lineage": Array [
"looper",
+ "i == i",
],
"location": Object {
"column": 7,
"file": "<<REPLACED>>/e2e/abq/__tests__/looped.test.js",
"line": 12,
at toMatchSnapshot (e2e/__tests__/abq.test.ts:444:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:423:3)
|
ABQ mode handles inline snapshots:
jest/e2e/__tests__/abq.test.ts#L472
expect(received).toMatchSnapshot()
Snapshot name: `ABQ mode handles inline snapshots 1`
- Snapshot - 2
+ Received + 6
@@ -1,11 +1,13 @@
Array [
Array [
Object {
"display_name": "snapshot test success",
"id": "__tests__/inline-snapshot.test.js#0:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test success",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 9,
},
@@ -17,11 +19,13 @@
},
},
Object {
"display_name": "snapshot test failure",
"id": "__tests__/inline-snapshot.test.js#1:0",
- "lineage": Array [],
+ "lineage": Array [
+ "snapshot test failure",
+ ],
"location": Object {
"column": 1,
"file": "<<REPLACED>>/e2e/abq/__tests__/inline-snapshot.test.js",
"line": 13,
},
at toMatchSnapshot (e2e/__tests__/abq.test.ts:472:30)
at runAbqJest (e2e/abqUtils.ts:36:5)
at Object.<anonymous> (e2e/__tests__/abq.test.ts:463:3)
|
test-windows / Node v16.x on windows-latest (3/4)
The operation was canceled.
|