Minor improvements for VSCode: (#675)

- chrome launch configuration for webapp added,
  - include `*.tsx` files in `tsconfig.json` so that jest tests inside `*.tsx` files don't show errors about not found jest functions
This commit is contained in:
kamre 2021-07-08 13:38:00 +07:00 committed by GitHub
parent f6746d8b32
commit 5e945b5c6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 86 additions and 78 deletions

7
.vscode/launch.json vendored
View file

@ -75,5 +75,12 @@
"console": "integratedTerminal", "console": "integratedTerminal",
"internalConsoleOptions": "neverOpen" "internalConsoleOptions": "neverOpen"
}, },
{
"type": "pwa-chrome",
"request": "launch",
"name": "Launch Chrome",
"url": "http://localhost:8000",
"webRoot": "${workspaceFolder}/webapp"
}
] ]
} }

View file

@ -10,6 +10,7 @@
} }
}, },
"include": [ "include": [
"./**/*.ts" "./**/*.ts",
"./**/*.tsx"
] ]
} }