Skip to content

Commit

Permalink
test: add testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
bytemain committed Jan 15, 2024
1 parent 547e091 commit ed0de71
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/global/worker.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ declare const worker: MiniProgramWorker;

expectAssignable<(cb: (evt: any) => any) => any>(worker.onMessage);
expectAssignable<(message: any) => any>(worker.postMessage);
expectAssignable<() => any>(worker.testOnProcessKilled);

0 comments on commit ed0de71

Please sign in to comment.