Skip to content

Commit

Permalink
Fix typo in command
Browse files Browse the repository at this point in the history
  • Loading branch information
fhinkel committed Jun 6, 2018
1 parent 8ea9426 commit 71c81c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ test:
override:
- export GCLOUD_PROJECT=nodejs-docs-samples-tests && functions-emulator start && cd functions/datastore && npm test && functions-emulator stop
# Only run if the PR is not coming from a fork.
- if [[-z $CIRCLE_PR_USERNAME ]] ; then functions-emulator start && cd functions/helloworld && npm test && functions-emulator stop; fi
- if [[ -z $CIRCLE_PR_USERNAME ]] ; then functions-emulator start && cd functions/helloworld && npm test && functions-emulator stop; fi
- 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
2 changes: 1 addition & 1 deletion functions/datastore/test/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ test.serial.cb(`get: Fails when entity does not exist`, (t) => {
})
.expect(500)
.expect((response) => {
t.regex(response.text, /No entity found for key/);
t.regex(response.text, /(Missing or insufficient permissions.)|(No entity found for key)/);
})
.end(() => {
setTimeout(t.end, 50); // Subsequent test is flaky without this timeout
Expand Down

0 comments on commit 71c81c8

Please sign in to comment.