1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

upgrade dependencies (#2057)

* upgrade dependencies

* fix "Property 'uninstall' does not exist on type 'SinonFakeTimers'."
This commit is contained in:
Leibale Eidelman
2022-03-27 16:27:05 -04:00
committed by GitHub
parent 515adf1346
commit 5ade5dadc0
10 changed files with 789 additions and 654 deletions

View File

@@ -6,7 +6,7 @@ describe('Socket', () => {
describe('reconnectStrategy', () => {
let clock: SinonFakeTimers;
beforeEach(() => clock = useFakeTimers());
afterEach(() => clock.uninstall());
afterEach(() => clock.restore());
it('custom strategy', () => {
const reconnectStrategy = spy((retries: number): number | Error => {