Skip to content

Commit

Permalink
Remove unnecessary type declaration / fix linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Filip Maj authored and filmaj committed Aug 27, 2021
1 parent c78de7e commit 926b669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/receivers/HTTPReceiver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ describe('HTTPReceiver', function () {
fakeReq.url = '/heyo';
fakeReq.headers = { host: 'localhost' };
fakeReq.method = 'GET';
const fakeRes: ServerResponse & {} = sinon.createStubInstance(ServerResponse) as unknown as ServerResponse;
const fakeRes: ServerResponse = sinon.createStubInstance(ServerResponse) as unknown as ServerResponse;
const writeHead = sinon.fake();
const end = sinon.fake();
fakeRes.writeHead = writeHead;
Expand Down

0 comments on commit 926b669

Please sign in to comment.