Update test/helpers.ts

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
pull/7076/head
Yuichiro Yamashita 5 years ago committed by GitHub
parent 0ee8cab552
commit f247f2a1b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
};

Loading…
Cancel
Save