This commit is contained in:
Simon Knott 2024-10-10 12:30:21 +02:00
parent 2cb9c525de
commit 3472515669
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -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 },