We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5415441 commit 0dbb29cCopy full SHA for 0dbb29c
1 file changed
src/test-utils.ts
@@ -1,11 +1,12 @@
1
-import * as React from 'react';
2
-import * as DeprecatedReactTestUtils from 'react-dom/test-utils';
+import * as React from "react";
+import * as DeprecatedReactTestUtils from "react-dom/test-utils";
3
4
declare global {
5
var IS_REACT_ACT_ENVIRONMENT: boolean;
6
}
7
8
-const act = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act;
+const act =
9
+ typeof React.act === "function" ? React.act : DeprecatedReactTestUtils.act;
10
11
type Item = {
12
callback: IntersectionObserverCallback;
0 commit comments