fix: typing error

This commit is contained in:
Lukas Bockstaller 2024-03-04 14:51:21 +01:00
parent a22db4fca7
commit fc202cd288
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View file

@ -81,7 +81,7 @@ export class TestInfoImpl implements TestInfo {
readonly titlePath: string[]; readonly titlePath: string[];
readonly file: string; readonly file: string;
readonly line: number; readonly line: number;
readonly tags: string[]|undefined; readonly tags: string[];
readonly column: number; readonly column: number;
readonly fn: Function; readonly fn: Function;
expectedStatus: TestStatus; expectedStatus: TestStatus;

View file

@ -2312,6 +2312,11 @@ export interface TestInfo {
*/ */
status?: "passed"|"failed"|"timedOut"|"skipped"|"interrupted"; status?: "passed"|"failed"|"timedOut"|"skipped"|"interrupted";
/**
* Tags that apply to the tests.
*/
tags: string[];
/** /**
* Test id matching the test case id in the reporter API. * Test id matching the test case id in the reporter API.
*/ */