added .vscode
This commit is contained in:
4
.vscode/settings.json
vendored
Normal file
4
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"postman.settings.dotenv-detection-notification-visibility": false,
|
||||
"typescript.preferences.importModuleSpecifier": "non-relative"
|
||||
}
|
||||
30
.vscode/tasks.json
vendored
Normal file
30
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Run Test Pattern",
|
||||
"type": "shell",
|
||||
"command": "bun test ${relativeFile} -t \"${input:testPattern}\"",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Run Describe at Cursor",
|
||||
"type": "shell",
|
||||
"command": "bun test ${relativeFile} --timeout 0 -t \"$(bun scripts/testScripts/getDescribeAtCursor.ts ${file} ${lineNumber})\"",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Run Current Test File",
|
||||
"type": "shell",
|
||||
"command": "bun test ${relativeFile}",
|
||||
"problemMatcher": []
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "testPattern",
|
||||
"type": "promptString",
|
||||
"description": "Test name pattern"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user