mirror of
https://github.com/denoland/deno.git
synced 2025-03-09 21:57:40 -04:00
Added test for registerDeclarativeServer
Added test case for registerDeclarativeServer like we discussed over email
This commit is contained in:
parent
6e0872c1f6
commit
cc34b8d0b3
4 changed files with 5 additions and 0 deletions
1
tests/specs/serve/declarativeSer/__test__.jsonc
Normal file
1
tests/specs/serve/declarativeSer/__test__.jsonc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
1
tests/specs/serve/declarativeSer/server.out
Normal file
1
tests/specs/serve/declarativeSer/server.out
Normal file
|
@ -0,0 +1 @@
|
||||||
|
|
3
tests/specs/serve/declarativeSer/server.ts
Normal file
3
tests/specs/serve/declarativeSer/server.ts
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
export const fetch = (req: Request) => {
|
||||||
|
return new Response("Hello from declarative server!");
|
||||||
|
};
|
Loading…
Add table
Reference in a new issue