We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6097d3 commit a28daa2Copy full SHA for a28daa2
packages/react-async/src/globalScope.spec.js
@@ -0,0 +1,11 @@
1
+import globalScope from "./globalScope"
2
+
3
+describe("globalScope", () => {
4
+ test("returns the global object", () => {
5
+ expect(globalScope).toBe(global)
6
+ })
7
8
+ test("defines __REACT_ASYNC__ object", () => {
9
+ expect(typeof globalScope.__REACT_ASYNC__).toBe("object")
10
11
+})
0 commit comments