Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
gildas-lormeau committed Nov 21, 2024
1 parent 22e8f35 commit 0092eea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/bun-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { test, beforeEach } from "bun:test";

import tests from "./tests-data.js";

beforeEach(() => globalThis.fetch = async (url) => {
beforeEach(() => globalThis.fetch = async url => {
const file = await Bun.file("." + url.toString().match(/(\/data\/.*)/)[1]);
return {
status: 200,
Expand Down
2 changes: 1 addition & 1 deletion tests/node-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import tests from "./tests-data.js";

setMaxListeners(100);

beforeEach(() => globalThis.fetch = mock.fn(async (url) => {
beforeEach(() => globalThis.fetch = mock.fn(async url => {
const blob = await openAsBlob("." + url.toString().match(/(\/data\/.*)/)[1]);
return {
status: 200,
Expand Down

0 comments on commit 0092eea

Please sign in to comment.