Skip to content

Commit

Permalink
add command for testing firestore on server (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
choden-dev authored Mar 26, 2024
1 parent 425ac42 commit 307599d
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 @@ -51,9 +51,10 @@
"dev-client": "yarn workspace client start",
"dev-server": "yarn workspace server start",
"storybook": "yarn workspace client storybook",
"test-server": "firebase emulators:exec --only firestore \"node --experimental-vm-modules --dns-result-order=ipv4first ./node_modules/jest/bin/jest.js --setupFiles dotenv/config --passWithNoTests --detectOpenHandles --forceExit --testPathPattern=server/src\"",
"test-server": "yarn firestore-test \"node --experimental-vm-modules --dns-result-order=ipv4first ./node_modules/jest/bin/jest.js --setupFiles dotenv/config --passWithNoTests --detectOpenHandles --forceExit --testPathPattern=server/src\"",
"test-client": "jest --setupFiles dotenv/config --passWithNoTests --detectOpenHandles --forceExit --testPathPattern=server/client",
"test": "yarn test-client && yarn test-server"
"test": "yarn test-client && yarn test-server",
"firestore-test": "firebase emulators:exec --only firestore"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 307599d

Please sign in to comment.