Skip to content

Commit

Permalink
Updated npm test script
Browse files Browse the repository at this point in the history
This branch adds the options `--env=node` to `npm test`. This is required due to a default setting within Jest and Axios.
  • Loading branch information
ATDaniel authored Jun 17, 2020
1 parent 36ae140 commit d6da49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion search/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"deploy": "sls deploy --config serverless.yml",
"remove": "sls remove --config serverless.yml",
"lint": "eslint ./lib/** ./tests/** --fix",
"test": "jest",
"test": "jest --env=node",
"build:docs": "redoc-cli bundle \"docs/OAcore+STAC.yaml\" -o docs/index.html --cdn --title \"STAC\"",
"ci": "npm run lint && npm run test"
},
Expand Down

0 comments on commit d6da49c

Please sign in to comment.