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

add a new test:match command script #2470

Merged
merged 1 commit into from
Jan 27, 2022
Merged

Conversation

FredKSchott
Copy link
Member

Changes

  • Our docs were incorrect, and there was no easy way to run a single test since turbo did not support argument passing.
  • Adds a new test:match command for running specific tests
# run this in the top-level project root to run all tests
yarn test
# run only a few tests, based on describe() or it() string match
# great for development, and working on a single feature!
# (example - `yarn test:match "RSS"` runs tests in `astro-rss.test.js`)
yarn test:match "$STRING_MATCH"

Testing

  • is test

Docs

  • n/a

@changeset-bot
Copy link

changeset-bot bot commented Jan 25, 2022

⚠️ No Changeset found

Latest commit: 7bead85

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the pkg: astro Related to the core `astro` package (scope) label Jan 25, 2022
@netlify
Copy link

netlify bot commented Jan 25, 2022

✔️ Deploy Preview for astro-docs-2 ready!

🔨 Explore the source changes: 7bead85

🔍 Inspect the deploy log: https://app.netlify.com/sites/astro-docs-2/deploys/61f08818ac31270007b8924f

😎 Browse the preview: https://deploy-preview-2470--astro-docs-2.netlify.app

Copy link
Contributor

@jonathantneal jonathantneal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quality. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants