feature: execute load()/unload() methods found in _pre.ts files

This commit is contained in:
Andy Burke 2025-08-11 17:12:55 -07:00
parent df8291bfc7
commit 046617bc4f
7 changed files with 116 additions and 62 deletions

7
tests/www/_pre.ts Normal file
View file

@ -0,0 +1,7 @@
export function load() {
Deno.env.set('SERVERUS_PRELOADED_TEST', 'true');
}
export function unload() {
Deno.env.delete('SERVERUS_PRELOADED_TEST');
}