We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In CONTRIBUTING.md we should spell out how tests should be structured and written.
CONTRIBUTING.md
Our unwritten rules up to this point:
tests
__tests__
*.test.ts(x)
.spec.tsx(x)
describe('<ComponentName>')
@shopify/react-testing
faker
Note that we have older tests that don't adhere to this convention, but we should migrate them over to this new convention.
The text was updated successfully, but these errors were encountered:
hydrogen-ui
hydrogen
I'm in the process of adding Vitest to hydrogen-ui, and I'll add the docs in the CONTRIBUTING.md file for h-ui for these things. 👍
Sorry, something went wrong.
Merge pull request Shopify#313 from Shopify/fd-merge-packages
198a564
Merge `hydrogen-remix` package into `hydrogen`
jplhomer
No branches or pull requests
In
CONTRIBUTING.md
we should spell out how tests should be structured and written.Our unwritten rules up to this point:
tests
folder (NOT__tests__
)*.test.ts(x)
(NOT.spec.tsx(x)
)describe('<ComponentName>')
@shopify/react-testing
library to test React componentsfaker
) instead of hardcoded fixturesNote that we have older tests that don't adhere to this convention, but we should migrate them over to this new convention.
The text was updated successfully, but these errors were encountered: