Add environment variables for date test
This adds the environment variables necessary for running the date test in all of these cases: - When running the npm script outside of VSCode (using `cross-env`) - When using the Jest Runner "Run" option (`terminal.integrated.env.*`) - When using the Jest Runner "Debug" option
This commit is contained in:
29
.vscode/settings.json
vendored
29
.vscode/settings.json
vendored
@@ -42,13 +42,28 @@
|
||||
"LANG": "en-US",
|
||||
"TZ": "UTC"
|
||||
},
|
||||
// Uncomment to debug integration tests
|
||||
// "jestrunner.debugOptions": {
|
||||
// "attachSimplePort": 9223,
|
||||
// "env": {
|
||||
// "VSCODE_WAIT_FOR_DEBUGGER": "true",
|
||||
// }
|
||||
// },
|
||||
"jestrunner.debugOptions": {
|
||||
// Uncomment to debug integration tests
|
||||
// "attachSimplePort": 9223,
|
||||
"env": {
|
||||
"LANG": "en-US",
|
||||
"TZ": "UTC",
|
||||
// Uncomment to debug integration tests
|
||||
// "VSCODE_WAIT_FOR_DEBUGGER": "true",
|
||||
}
|
||||
},
|
||||
"terminal.integrated.env.linux": {
|
||||
"LANG": "en-US",
|
||||
"TZ": "UTC"
|
||||
},
|
||||
"terminal.integrated.env.osx": {
|
||||
"LANG": "en-US",
|
||||
"TZ": "UTC"
|
||||
},
|
||||
"terminal.integrated.env.windows": {
|
||||
"LANG": "en-US",
|
||||
"TZ": "UTC"
|
||||
},
|
||||
"[typescript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||
"editor.formatOnSave": true,
|
||||
|
||||
Reference in New Issue
Block a user