Skip to content

Commit

Permalink
Add test files and update launch commands (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleJune authored Aug 1, 2024
1 parent 1974a99 commit 3b82a7f
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 7 deletions.
15 changes: 9 additions & 6 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"configurations": [
{
"request": "launch",
"name": "deno task: build",
"name": "build",
"type": "node",
"program": "${workspaceFolder}/build.ts",
"cwd": "${workspaceFolder}/example",
Expand All @@ -14,13 +14,14 @@
"--inspect-wait"
],
"env": {
"APP_ENV": "production"
"APP_ENV": "development",
"NODE_ENV": "development"
},
"attachSimplePort": 9229
},
{
"request": "launch",
"name": "deno task: run",
"name": "run",
"type": "node",
"program": "${workspaceFolder}/example/main.ts",
"cwd": "${workspaceFolder}/example",
Expand All @@ -31,13 +32,14 @@
"--inspect-wait"
],
"env": {
"APP_ENV": "production"
"APP_ENV": "development",
"NODE_ENV": "development"
},
"attachSimplePort": 9229
},
{
"request": "launch",
"name": "deno task: test",
"name": "test",
"type": "node",
"program": ".",
"cwd": "${workspaceFolder}",
Expand All @@ -48,7 +50,8 @@
"--inspect-wait"
],
"env": {
"APP_ENV": "test"
"APP_ENV": "test",
"NODE_ENV": "development"
},
"attachSimplePort": 9229
}
Expand Down
1 change: 1 addition & 0 deletions build.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./build.ts";
1 change: 1 addition & 0 deletions client.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./client.tsx";
8 changes: 7 additions & 1 deletion deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dev.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./dev.ts";
1 change: 1 addition & 0 deletions error.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./error.tsx";
1 change: 1 addition & 0 deletions mod.test.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./mod.tsx";
1 change: 1 addition & 0 deletions server.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./server.tsx";

0 comments on commit 3b82a7f

Please sign in to comment.