Add the test title to the end of the lineage #157
Annotations
10 errors
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run tests:
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)
|
run 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)
|
run 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)
|
run tests:
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)
|
run 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)
|
run tests:
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)
|
run tests
Process completed with exit code 1.
|
Loading