GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — [DO NOT MERGE] Update/add tests + fix dependencies by ace-n · Pull Request #452 · GoogleCloudPlatform/nodejs-docs-samples Conversation
|
Codecov Report
@@ Coverage Diff @@ ## master #452 +/- ## ========================================== - Coverage 83.92% 83.84% -0.08% ========================================== Files 4 4 Lines 423 421 -2 ========================================== - Hits 355 353 -2 Misses 68 68
Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Note/Reminder: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "@google-cloud/nodejs-repo-tools": "1.4.15", | ||
| "ava": "0.19.1" | ||
| }, | ||
| "cloud-repo-tools": { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
tldr; from our convo, revert changes to "cloud-repo-tools" and the 2 new .js test files, and instead update circle.yml
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const process = require('process'); // Required for mocking environment variables | ||
|
|
||
| // Make sure starting directory is consistent, so that views are found correctly | ||
| process.chdir(__dirname); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Instead of this wonkiness, explicitly tell express where to look for views.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| "scripts": { | ||
| "start": "node app.js" | ||
| "start": "node app.js", | ||
| "test": "ava system-test/*.test.js -T 30s" |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Change this to:
"test": "GOOGLE_STORAGE_BUCKET=$(uuidgen) samples test app && ava system-test/*.test.js -T 30s"
AND
add a "cloud-repo-tools" to the package.json that includes a "requiredEnvVars" clause
AND
delete your config file
AND
Add a line to circle.yml to invoke this test
AND
apply these comments to other appengine apps that you modified.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Can potentially close this in favor of #463 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This was replaced by #468. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* build!: Update library to use Node 12 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build!: Update library to use Node 12 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build!: Update library to use Node 12 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
* build!: Update library to use Node 12 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.