fix test
This commit is contained in:
parent
2cb9c525de
commit
3472515669
|
|
@ -27,6 +27,7 @@ const result: TestResult = {
|
||||||
errors: [],
|
errors: [],
|
||||||
steps: [{
|
steps: [{
|
||||||
title: 'Outer step',
|
title: 'Outer step',
|
||||||
|
category: 'test.step',
|
||||||
startTime: new Date(100).toUTCString(),
|
startTime: new Date(100).toUTCString(),
|
||||||
duration: 10,
|
duration: 10,
|
||||||
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
||||||
|
|
@ -34,6 +35,7 @@ const result: TestResult = {
|
||||||
steps: [{
|
steps: [{
|
||||||
title: 'Inner step',
|
title: 'Inner step',
|
||||||
startTime: new Date(200).toUTCString(),
|
startTime: new Date(200).toUTCString(),
|
||||||
|
category: 'test.step',
|
||||||
duration: 10,
|
duration: 10,
|
||||||
location: { file: 'test.spec.ts', line: 82, column: 0 },
|
location: { file: 'test.spec.ts', line: 82, column: 0 },
|
||||||
steps: [],
|
steps: [],
|
||||||
|
|
@ -134,6 +136,7 @@ const resultWithAttachment: TestResult = {
|
||||||
errors: [],
|
errors: [],
|
||||||
steps: [{
|
steps: [{
|
||||||
title: 'Outer step',
|
title: 'Outer step',
|
||||||
|
category: 'test.step',
|
||||||
startTime: new Date(100).toUTCString(),
|
startTime: new Date(100).toUTCString(),
|
||||||
duration: 10,
|
duration: 10,
|
||||||
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
location: { file: 'test.spec.ts', line: 62, column: 0 },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue