Skip to content

Commit

Permalink
test: define VSCode task for test (#84)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumachan-mis authored Sep 1, 2024
1 parent 95b8fd0 commit 2625412
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Run Go Tests with Firebase Emulator",
"type": "shell",
"command": "firebase",
"args": [
"emulators:exec",
"--only",
"firestore",
"--import",
"${workspaceFolder}/fixtures",
"'go test ${workspaceFolder}/...'"
],
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": [
"$go"
],
"detail": "A custom task to run Go tests with Firebase Emulator."
}
]
}

0 comments on commit 2625412

Please sign in to comment.