summaryrefslogtreecommitdiff
path: root/testing/format.ts
diff options
context:
space:
mode:
Diffstat (limited to 'testing/format.ts')
-rw-r--r--testing/format.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/format.ts b/testing/format.ts
index af8391b23..7a0d8c173 100644
--- a/testing/format.ts
+++ b/testing/format.ts
@@ -72,7 +72,9 @@ const getConstructorName = (val: new (...args: any[]) => any): string =>
(typeof val.constructor === "function" && val.constructor.name) || "Object";
/* global window */
-/** Is val is equal to global window object? Works even if it does not exist :) */
+/** Is val is equal to global window object?
+ * Works even if it does not exist :)
+ * */
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const isWindow = (val: any): val is Window =>
typeof window !== "undefined" && val === window;