Skip to content

Commit

Permalink
chore: renamed 'npm test' tasks to more standard names
Browse files Browse the repository at this point in the history
  • Loading branch information
chapati23 committed Jul 24, 2024
1 parent 9380336 commit 0a8a6e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"logs:url": "./get-logs-url.sh",
"prestart": "tsc",
"start": "NODE_ENV=development functions-framework --target=watchdogNotifier",
"test": "curl -H \"Content-Type: application/json\" -d @src/proposal-created.fixture.json localhost:8080",
"test-in-prod": "./test-deployed-function.sh"
"test": "npm run test:local",
"test:local": "curl -H \"Content-Type: application/json\" -d @src/proposal-created.fixture.json localhost:8080",
"test:prod": "./test-deployed-function.sh"
},
"dependencies": {
"@google-cloud/functions-framework": "^3.4.0",
Expand Down

0 comments on commit 0a8a6e7

Please sign in to comment.