feat(server): add safety checks during dev (#1489)

Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
This commit is contained in:
Michael Herzner
2023-07-31 11:48:26 +02:00
committed by GitHub
co-authored by Reed von Redwitz
parent 430be774e2
commit a7fe9d04f1
20 changed files with 398 additions and 18 deletions
+5
View File
@@ -8,6 +8,7 @@ export {
} from "https://deno.land/std@0.193.0/path/mod.ts";
export { walk } from "https://deno.land/std@0.193.0/fs/walk.ts";
export * as colors from "https://deno.land/std@0.193.0/fmt/colors.ts";
export { existsSync } from "https://deno.land/std@0.193.0/fs/mod.ts";
export {
type Handler as ServeHandler,
serve,
@@ -20,3 +21,7 @@ export {
export { toHashString } from "https://deno.land/std@0.193.0/crypto/to_hash_string.ts";
export { escape } from "https://deno.land/std@0.193.0/regexp/escape.ts";
export * as JSONC from "https://deno.land/std@0.193.0/jsonc/mod.ts";
export {
assertSpyCalls,
spy,
} from "https://deno.land/std@0.193.0/testing/mock.ts";