feature: execute load()
/unload()
methods found in _pre.ts
files
This commit is contained in:
parent
df8291bfc7
commit
046617bc4f
7 changed files with 116 additions and 62 deletions
7
tests/www/_pre.ts
Normal file
7
tests/www/_pre.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
export function load() {
|
||||
Deno.env.set('SERVERUS_PRELOADED_TEST', 'true');
|
||||
}
|
||||
|
||||
export function unload() {
|
||||
Deno.env.delete('SERVERUS_PRELOADED_TEST');
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue