Skip to content

Commit d13561f

Browse files
committed
chore: types
1 parent c000cba commit d13561f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

tests/compatibility.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,11 @@ tap.test(
365365
'payload',
366366
);
367367

368+
// @ts-ignore Body wrongly typed as string
368369
t.equal(body.type, 'destination');
370+
// @ts-ignore Body wrongly typed as string
369371
t.equal(body.method, 'POST');
372+
// @ts-ignore Body wrongly typed as string
370373
t.equal(body.url, `${serverAddr}/some/path`);
371374

372375
await proxy.close();

tests/proxying.test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -352,8 +352,11 @@ tap.test(
352352
'payload',
353353
);
354354

355+
// @ts-ignore Body wrongly typed as string
355356
t.equal(body.type, 'destination');
357+
// @ts-ignore Body wrongly typed as string
356358
t.equal(body.method, 'POST');
359+
// @ts-ignore Body wrongly typed as string
357360
t.equal(body.url, `${serverAddr}/some/path`);
358361

359362
await proxy.close();

0 commit comments

Comments
 (0)