Skip to content

Commit

Permalink
fix: isresolvable mock
Browse files Browse the repository at this point in the history
  • Loading branch information
amphro committed Feb 10, 2021
1 parent 04c752c commit 6a7e8b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/testSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ export const stubContext = (testContext: TestContext) => {
})
);

stubMethod(testContext.SANDBOXES.CONNECTION, Connection.prototype, 'isResolvable').resolves(true);

stubMethod(testContext.SANDBOXES.CONNECTION, Connection.prototype, 'request').callsFake(function (
this: Connection,
request: string,
Expand Down

0 comments on commit 6a7e8b1

Please sign in to comment.