Skip to content

Commit

Permalink
ts fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl committed Aug 15, 2023
1 parent b940faf commit d0b1164
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit/apiCallable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ describe('createApiCall', () => {
const now = new Date();
const originalDeadline = now.getTime() + 100;
const expectedDeadline = now.getTime() + 200;
assert(resp! > originalDeadline);
assert(resp! <= expectedDeadline);
assert((resp as any)! > originalDeadline);

Check warning on line 69 in test/unit/apiCallable.ts

View workflow job for this annotation

GitHub Actions / lint-gax

Unexpected any. Specify a different type
assert((resp as any)! <= expectedDeadline);

Check warning on line 70 in test/unit/apiCallable.ts

View workflow job for this annotation

GitHub Actions / lint-gax

Unexpected any. Specify a different type
done();
});
});
Expand Down

0 comments on commit d0b1164

Please sign in to comment.