added .vscode

This commit is contained in:
John Yeo
2026-01-07 17:46:05 +00:00
parent 850dd0775a
commit ef5e44fb84
7 changed files with 149 additions and 108 deletions

4
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,4 @@
{
"postman.settings.dotenv-detection-notification-visibility": false,
"typescript.preferences.importModuleSpecifier": "non-relative"
}

30
.vscode/tasks.json vendored Normal file
View 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"
}
]
}