stripe / stripe-node

Node.js library for the Stripe API.
https://stripe.com
MIT License
3.9k stars 756 forks source link

add local pre-req script to bail early if tests will fail #2083

Closed xavdid-stripe closed 6 months ago

xavdid-stripe commented 6 months ago

When running the node test suite, many tests passed but those dependent on deno and stripe-mock only failed after the rest of the test suite had run.

For local development, it seems worthwhile to ensure those are running before running the whole suite.

Also, my understanding is make test is only run locally, so this PR won't affect CI (or anything besides us running make test on our laptops). If that's not the case, let me know!