Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support running specific tests via npm run test #469

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

snormore
Copy link
Contributor

@snormore snormore commented Oct 24, 2023

Update the package.json/scripts/test entry to include a -- suffix so that we can run specific tests via npm run test. For example, npm run test -- -t 'viem'.

Without this suffix, using npm run test -- -t '...' doesn't work as expected, but npm run test:node -- -t '...' does.

@snormore snormore requested a review from a team October 24, 2023 13:44
@snormore snormore force-pushed the package-json-test-run-specific branch from 2572be2 to d4e9115 Compare October 24, 2023 13:45
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Oct 24, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee7e277
Status: ✅  Deploy successful!
Preview URL: https://141024df.xmtp-js.pages.dev
Branch Preview URL: https://package-json-test-run-specif.xmtp-js.pages.dev

View logs

@snormore snormore force-pushed the package-json-test-run-specific branch from d4e9115 to ee7e277 Compare October 24, 2023 15:55
@snormore snormore merged commit 645490b into main Oct 24, 2023
7 checks passed
@snormore snormore deleted the package-json-test-run-specific branch October 24, 2023 16:05
@github-actions
Copy link
Contributor

🎉 This PR is included in version 11.2.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants