remove category

This commit is contained in:
Simon Knott 2024-11-06 10:21:54 +01:00
parent 0afc545d03
commit 3730900546
No known key found for this signature in database
GPG key ID: 8CEDC00028084AEC

View file

@ -27,14 +27,12 @@ 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 },
count: 1, count: 1,
steps: [{ steps: [{
title: 'Inner step', title: 'Inner step',
category: 'test.step',
startTime: new Date(200).toUTCString(), startTime: new Date(200).toUTCString(),
duration: 10, duration: 10,
location: { file: 'test.spec.ts', line: 82, column: 0 }, location: { file: 'test.spec.ts', line: 82, column: 0 },
@ -136,7 +134,6 @@ 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 },