Skip to content

Commit 97ffcd3

Browse files
committed
fix: run lint:write
Signed-off-by: Tierney Cyren <hello@bnb.im>
1 parent 57f67a1 commit 97ffcd3

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

core/util/dev/beforeEachTemplate.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
const dns = require('node:dns');
2-
const { fetch: undiciFetch, MockAgent, setGlobalDispatcher } = require('undici');
2+
const {
3+
fetch: undiciFetch,
4+
MockAgent,
5+
setGlobalDispatcher,
6+
} = require('undici');
37

48
const staticIndex = require('../../test/data/static/index.json');
59
const staticSchedule = require('../../test/data/static/schedule.json');
@@ -31,9 +35,7 @@ function beforeEachTemplate() {
3135
.reply(200, staticSchedule);
3236

3337
const customMock = mockAgent.get('https://bnb.im');
34-
customMock
35-
.intercept({ path: '/dist/index.json' })
36-
.reply(200, staticIndex);
38+
customMock.intercept({ path: '/dist/index.json' }).reply(200, staticIndex);
3739
customMock
3840
.intercept({ path: '/dist/schedule.json' })
3941
.reply(200, staticSchedule);

0 commit comments

Comments
 (0)