Skip to content

Commit

Permalink
TestContext.resumeTest() returns void, not Promise<void>
Browse files Browse the repository at this point in the history
This error has been around for a very long time, but fixing type type
of the `BaseContext` flagged it up.
  • Loading branch information
chriskrycho committed Dec 21, 2022
1 parent 6d57025 commit 1d22a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon-test-support/@ember/test-helpers/setup-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export interface TestContext extends BaseContext {
getProperties(...args: string[]): Pick<BaseContext, string>;

pauseTest(): Promise<void>;
resumeTest(): Promise<void>;
resumeTest(): void;
}

// eslint-disable-next-line require-jsdoc
Expand Down

0 comments on commit 1d22a8e

Please sign in to comment.