Skip to content

Commit

Permalink
Fixing no-undef-init rules
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Aug 9, 2021
1 parent 7c93afc commit fcbae2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/receivers/ExpressReceiver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ describe('ExpressReceiver', function () {
// Arrange
// tslint:disable-next-line: no-object-literal-type-assertion
const req = { body: { type: 'url_verification', challenge: 'this is it' } } as Request;
let sentBody = undefined;
let sentBody;
// tslint:disable-next-line: no-object-literal-type-assertion
const resp = {
json: (body) => {
Expand All @@ -342,7 +342,7 @@ describe('ExpressReceiver', function () {
// Arrange
// tslint:disable-next-line: no-object-literal-type-assertion
const req = { body: { ssl_check: 1 } } as Request;
let sentBody = undefined;
let sentBody;
// tslint:disable-next-line: no-object-literal-type-assertion
const resp = {
json: (body) => {
Expand Down

0 comments on commit fcbae2d

Please sign in to comment.