Skip to content

Commit

Permalink
run format and undo test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
flashdesignory committed Nov 5, 2024
1 parent 9a98948 commit 3a27fdf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/benchmark-runner-tests.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe("BenchmarkRunner", () => {
});

it("should prepare the suite first", async () => {
assert.calledTwice(_prepareSuiteSpy);
assert.calledOnce(_prepareSuiteSpy);
assert.calledOnce(_suitePrepareSpy);
assert.calledOnce(_loadFrameStub);
});
Expand Down
6 changes: 4 additions & 2 deletions tests/run.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,12 @@ function printHelp(message = "") {

const options = commandLineArgs(optionDefinitions);

if ("help" in options) printHelp();
if ("help" in options)
printHelp();

const BROWSER = options?.browser;
if (!BROWSER) printHelp("No browser specified, use $BROWSER or --browser");
if (!BROWSER)
printHelp("No browser specified, use $BROWSER or --browser");

let capabilities;
switch (BROWSER) {
Expand Down

0 comments on commit 3a27fdf

Please sign in to comment.