Skip to content

Commit

Permalink
Remove MockTestRunner.runAssertion
Browse files Browse the repository at this point in the history
  • Loading branch information
stalgiag committed Dec 13, 2023
1 parent ffb1482 commit 8fe2977
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/agent/mock-test-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,6 @@ export class MockTestRunner {
this.log(AgentMessage.OPEN_PAGE, { url });
}

/**
* @param {CollectedTestCommand} command
* @param {CollectedTestAssertion} assertion
*/
async runAssertion(command, assertion) {
return {
command: command.id,
expectation: assertion.expectation || assertion.assertionStatement,
output: `mocked output for ${assertion.expectation}`,
pass: await this.testAssertion(command, assertion),
};
}

/**
* @param {CollectedTestCommand} command
* @param {CollectedTestAssertion} assertion
Expand Down

0 comments on commit 8fe2977

Please sign in to comment.