mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 12:28:50 +00:00
WIP
This commit is contained in:
parent
905f0b72f9
commit
a8543e3ad1
@ -594,6 +594,11 @@ if (Deno.env.get("NODE_ENV") === undefined) {
|
||||
Deno.env.set("NODE_ENV", "test");
|
||||
}
|
||||
|
||||
function beforeEach(fn) {
|
||||
}
|
||||
function afterEach(fn) {
|
||||
}
|
||||
|
||||
const jest = {
|
||||
spy(fn) {
|
||||
},
|
||||
@ -606,3 +611,5 @@ globalThis.describe = describe;
|
||||
globalThis.it = it;
|
||||
globalThis.before = beforeAll;
|
||||
globalThis.beforeAll = beforeAll;
|
||||
globalThis.beforeEach = beforeEach;
|
||||
globalThis.afterEach = afterEach;
|
||||
|
Loading…
Reference in New Issue
Block a user