Commit
Replace usage of global with globalThis for better browser support
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import td from 'testdouble' | ||
|
||
global.context = describe | ||
global.td = td | ||
globalThis.context = describe | ||
globalThis.td = td | ||
|
||
afterEach(() => td.reset()) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -148,6 +148,6 @@ | |
}, | ||
"license": "MIT", | ||
"engines": { | ||
"node": ">= 4.0.0" | ||
"node": ">= 14" | ||
} | ||
} |