Skip to content

Commit ebb9997

Browse files
committed
chore: lint fix
1 parent f9bce42 commit ebb9997

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

packages/client/test/index.spec.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe('delegated-routing-v1-http-api-client', () => {
5555
headers: {
5656
'Content-Type': 'application/json'
5757
},
58-
body: JSON.stringify({ Providers: providers})
58+
body: JSON.stringify({ Providers: providers })
5959
})
6060

6161
const provs = await all(client.getProviders(cid))
@@ -87,12 +87,12 @@ describe('delegated-routing-v1-http-api-client', () => {
8787
for (const contentType of contentTypes) {
8888
// Add providers with proper payload structure
8989
await fetch(`${process.env.ECHO_SERVER}/add-providers/${cid.toString()}`, {
90-
method: 'POST',
91-
headers: {
92-
'Content-Type': contentType
93-
},
94-
body: JSON.stringify({ Providers: providers })
95-
})
90+
method: 'POST',
91+
headers: {
92+
'Content-Type': contentType
93+
},
94+
body: JSON.stringify({ Providers: providers })
95+
})
9696

9797
await new Promise((resolve) => setTimeout(resolve, 100))
9898
const provs = await all(client.getProviders(cid))
@@ -107,12 +107,12 @@ describe('delegated-routing-v1-http-api-client', () => {
107107
const cid = CID.parse('QmUNLLsPACCz1vLxQVkXqqLX5R1X345qqfHbsf67hvA3Nn')
108108

109109
const response = await fetch(`${process.env.ECHO_SERVER}/add-providers/${cid.toString()}`, {
110-
method: 'POST',
111-
headers: {
112-
'Content-Type': 'text/plain'
113-
},
114-
body: 'not json'
115-
})
110+
method: 'POST',
111+
headers: {
112+
'Content-Type': 'text/plain'
113+
},
114+
body: 'not json'
115+
})
116116

117117
expect(response.status).to.equal(400)
118118
const errorData = await response.json()
@@ -378,7 +378,7 @@ describe('delegated-routing-v1-http-api-client', () => {
378378
headers: {
379379
'Content-Type': 'application/json'
380380
},
381-
body: JSON.stringify({ Providers: providers})
381+
body: JSON.stringify({ Providers: providers })
382382
})
383383

384384
// Reset call count before our test
@@ -434,7 +434,7 @@ describe('delegated-routing-v1-http-api-client', () => {
434434
headers: {
435435
'Content-Type': 'application/json'
436436
},
437-
body: JSON.stringify({ Providers: providers})
437+
body: JSON.stringify({ Providers: providers })
438438
})
439439

440440
// Reset call count

0 commit comments

Comments
 (0)