Skip to content

Commit 6161b15

Browse files
authored
fix: add onTestFinished / onTestFailed to global APIs (#552)
1 parent 40af3fc commit 6161b15

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/core/src/utils/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ export const globalApis: (keyof Rstest)[] = [
3131
'rstest',
3232
'rs',
3333
'assert',
34+
'onTestFinished',
35+
'onTestFailed',
3436
];
3537

3638
export const TS_CONFIG_FILE = 'tsconfig.json';

0 commit comments

Comments
 (0)