Skip to content

Commit 1d22a8e

Browse files
committed
TestContext.resumeTest() returns void, not Promise<void>
This error has been around for a very long time, but fixing type type of the `BaseContext` flagged it up.
1 parent 6d57025 commit 1d22a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon-test-support/@ember/test-helpers/setup-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface TestContext extends BaseContext {
8080
getProperties(...args: string[]): Pick<BaseContext, string>;
8181

8282
pauseTest(): Promise<void>;
83-
resumeTest(): Promise<void>;
83+
resumeTest(): void;
8484
}
8585

8686
// eslint-disable-next-line require-jsdoc

0 commit comments

Comments
 (0)