Skip to content

Commit

Permalink
Add tests with functions-emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel committed Jun 6, 2018
1 parent fd0bf0e commit 3a35070
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,8 @@ dependencies:
# Run your tests
test:
override:
# (todo: fhinkel) figure out why these time out and put them back in.
# - functions-emulator config set projectId $GCLOUD_PROJECT && functions-emulator start && cd functions/datastore && npm run system-test && functions-emulator stop
# - functions-emulator config set projectId $GCLOUD_PROJECT && functions-emulator start && cd functions/helloworld && npm run test && functions-emulator stop
- export GCLOUD_PROJECT=nodejs-docs-samples-tests && functions-emulator start && cd functions/datastore && npm run system-test && functions-emulator stop
- export GCLOUD_PROJECT=nodejs-docs-samples-tests && functions-emulator start && cd functions/helloworld && npm run test && functions-emulator stop
- samples test run --cmd nyc -- --cache ava --verbose -T 30s 'functions/background/test/**/*.test.js'
- samples test run --cmd nyc -- --cache ava --verbose -T 30s 'functions/concepts/test/**/*.test.js'
- samples test run --cmd nyc -- --cache ava --verbose -T 30s 'functions/gcs/test/**/*.test.js'
Expand Down

0 comments on commit 3a35070

Please sign in to comment.