-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
feat(learn): add section for dynamically generating test cases #7387
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
I'm not fan of the provided example because it's based on experimental api. maybe do same things as this test (do with jest). But I mean based on hand written variable |
EDIT: ohhh! Wait, is the experimental API you're concerned about |
assert.partialDeepStrictEqual(pjson.keywords, [ | ||
'node.js', | ||
'sliced bread', | ||
]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assert.partialDeepStrictEqual(pjson.keywords, [ | |
'node.js', | |
'sliced bread', | |
]); | |
assert.match(pjson.name, /@nodejs\/[a-z \-]+/); |
Description
Validation
Related Issues
Check List
npm run format
to ensure the code follows the style guide.npm run test
to check if all tests are passing.npx turbo build
to check if the website builds without errors.