Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test files and update launch commands #95

Merged
merged 1 commit into from
Aug 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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";