From f247f2a1b9fe8ea5b08e6588c8f16ae522a206c6 Mon Sep 17 00:00:00 2001 From: Yuichiro Yamashita Date: Wed, 5 Jan 2022 19:45:37 +0900 Subject: [PATCH] Update test/helpers.ts Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> --- test/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/helpers.ts b/test/helpers.ts index 28e08ffeb6..8ab622b827 100644 --- a/test/helpers.ts +++ b/test/helpers.ts @@ -243,7 +243,7 @@ const original_set_timeout = global.setTimeout; export function useFakeTimers() { const callbacks = []; - global.setTimeout = function (fn) { + global.setTimeout = function(fn) { callbacks.push(fn); };