Skip to content

Commit a28daa2

Browse files
committed
Add spec for globalScope.
1 parent e6097d3 commit a28daa2

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)