Skip to content

Commit 7ca43aa

Browse files
Fix format issues in tests/http-helper.test.ts
Co-authored-by: sunnylqm <615282+sunnylqm@users.noreply.github.com>
1 parent 869922d commit 7ca43aa

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

tests/http-helper.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
import { afterEach, describe, expect, mock, test } from 'bun:test';
32

43
const runtimeFetchMock = mock(() => Promise.resolve({ status: 200 }));
@@ -73,13 +72,13 @@ describe('testUrls edge cases', () => {
7372
runtimeFetchMock.mockImplementation((url: string) => {
7473
if (url === 'http://fast.local') {
7574
return new Promise((resolve) =>
76-
setTimeout(() => resolve({ status: 200 }), 10),
77-
);
75+
setTimeout(() => resolve({ status: 200 }), 10),
76+
);
7877
}
7978
if (url === 'http://slow.local') {
8079
return new Promise((resolve) =>
81-
setTimeout(() => resolve({ status: 200 }), 50),
82-
);
80+
setTimeout(() => resolve({ status: 200 }), 50),
81+
);
8382
}
8483
return Promise.reject(new Error('fail'));
8584
});

0 commit comments

Comments
 (0)