mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
WIP
This commit is contained in:
parent
905f0b72f9
commit
a8543e3ad1
1 changed files with 7 additions and 0 deletions
|
@ -594,6 +594,11 @@ if (Deno.env.get("NODE_ENV") === undefined) {
|
||||||
Deno.env.set("NODE_ENV", "test");
|
Deno.env.set("NODE_ENV", "test");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function beforeEach(fn) {
|
||||||
|
}
|
||||||
|
function afterEach(fn) {
|
||||||
|
}
|
||||||
|
|
||||||
const jest = {
|
const jest = {
|
||||||
spy(fn) {
|
spy(fn) {
|
||||||
},
|
},
|
||||||
|
@ -606,3 +611,5 @@ globalThis.describe = describe;
|
||||||
globalThis.it = it;
|
globalThis.it = it;
|
||||||
globalThis.before = beforeAll;
|
globalThis.before = beforeAll;
|
||||||
globalThis.beforeAll = beforeAll;
|
globalThis.beforeAll = beforeAll;
|
||||||
|
globalThis.beforeEach = beforeEach;
|
||||||
|
globalThis.afterEach = afterEach;
|
||||||
|
|
Loading…
Add table
Reference in a new issue