Skip to content

Commit

Permalink
typing: change the typing for test-case-result from AssertionResult t…
Browse files Browse the repository at this point in the history
…o TestCaseResult
  • Loading branch information
RahulARanger committed Jun 22, 2024
1 parent 6880c54 commit bf4a659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jest-test-result/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ export type TestEvents = {
'test-file-success': [Test, TestResult];
'test-file-failure': [Test, SerializableError];
'test-case-start': [string, Circus.TestCaseStartInfo];
'test-case-result': [string, AssertionResult];
'test-case-result': [string, TestCaseResult];
};

export type TestFileEvent<T extends keyof TestEvents = keyof TestEvents> = (
Expand Down

0 comments on commit bf4a659

Please sign in to comment.