Skip to content

build(test): recursively find test files; fail on unsupported dependency versions#717

Merged
bcoe merged 6 commits intogoogleapis:masterfrom
feywind:node-test-recursion
Sep 12, 2020
Merged

build(test): recursively find test files; fail on unsupported dependency versions#717
bcoe merged 6 commits intogoogleapis:masterfrom
feywind:node-test-recursion

Conversation

@feywind
Copy link
Copy Markdown
Contributor

@feywind feywind commented Aug 6, 2020

... it seems to have been the case in the past.

We discovered that a big swath of tests weren't being run in the nodejs-pubsub library because they're in a subtree. This would enable recursion explicitly in the Mocha config file. I have to believe that we once did this, because the tests were there.

@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 6, 2020
@bcoe bcoe changed the title fix: make mocha tests for node libraries recursive build: make mocha tests for node libraries recursive Sep 10, 2020
@bcoe bcoe added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Sep 10, 2020
@bcoe
Copy link
Copy Markdown

bcoe commented Sep 10, 2020

Having a discussion with @feywind about perhaps also updating our npm i command when we land this, such that it captures dependency issues.

@product-auto-label product-auto-label Bot added the api: cloudbuild Issues related to the Cloud Build API. label Sep 11, 2020
@bcoe bcoe changed the title build: make mocha tests for node libraries recursive build(test): recursively find test files; fail on unsupported dependency versions Sep 12, 2020
@bcoe bcoe merged commit fdd03c1 into googleapis:master Sep 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: cloudbuild Issues related to the Cloud Build API. cla: yes This human has signed the Contributor License Agreement. do not merge Indicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants