Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory committed Dec 17, 2024
1 parent 544fe16 commit 7280741
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/benchmark-runner-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ describe("BenchmarkRunner", () => {
assert.calledWith(performanceMarkSpy, "suite-Suite 1-start");
assert.calledWith(performanceMarkSpy, "suite-Suite 1-end");
expect(performanceMarkSpy.callCount).to.equal(4);
assert.calledOnce(runner._client.didFinishSuite);
});
});
});
Expand All @@ -200,7 +201,6 @@ describe("BenchmarkRunner", () => {

it("should run client pre and post hooks if present", () => {
assert.calledWith(runner._client.willRunTest, suite, suite.tests[0]);
assert.calledWith(runner._client.didFinishSuite, suite, suite.tests[0]);
});

it("should write performance marks at the start and end of the test with the correct test name", () => {
Expand Down

0 comments on commit 7280741

Please sign in to comment.