-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore(core): Add jest config back to rwjs/core #4461
Conversation
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.
Shouldn't this include a test for stubbing an env var without a value to prevent another regression?
If you look at the test DP, unfortunately it doesn't seem possible (to me, right now) to test this without running a full webpack build when we use the third party dotenv plugin I was able to add the extra test in the previous PR because I'd changed our code that handled dotenv loading. |
@dac09 Understood, and this brings up some of the things I wanted to discuss related to #4334
|
@dac09 I'm approving this, but I do want us to prioritize a next step, which would preferrably be a PR (but Issue ok). Here's the approach I suggest as a next step:
We'll need to address:
|
…-core-tests * 'main' of github.com:redwoodjs/redwood: (668 commits) Fix broken link in authentication.md (redwoodjs#5394) Update local-postgres-setup.md (redwoodjs#5353) modify typescript example (redwoodjs#5377) fix(deps): update dependency core-js to v3.22.3 (redwoodjs#5376) fix(deps): update dependency @types/node to v16.11.32 (redwoodjs#5374) fix(deps): update prisma monorepo to v3.13.0 (redwoodjs#5375) chore(deps): update dependency typescript to v4.6.4 (redwoodjs#5372) chore(deps): update dependency nodemon to v2.0.16 (redwoodjs#5364) fix(docs): add WindiCSS in setup ui list (redwoodjs#5369) chore(deps): update dependency @nhost/nhost-js to v1.1.6 (redwoodjs#5363) Add back git fetch step for lerna chore(deps): update dependency @clerk/clerk-sdk-node to v3.3.10 (redwoodjs#5358) fix(deps): update dependency @types/node to v16.11.28 (redwoodjs#5326) update all contributors (redwoodjs#5357) Patch all-contributors-cli (redwoodjs#5356) Remove unused `SubmitHandler` in example JavaScript code (redwoodjs#5352) Use GraphQL Codegen to generate more accurate resolver types (redwoodjs#5216) chore(deps): update dependency @clerk/clerk-sdk-node to v3.3.8 (redwoodjs#5345) fix(deps): update dependency jest-watch-typeahead to v1.1.0 (redwoodjs#5339) Update yarn.lock ...
✅ Deploy Preview for redwoodjs-docs canceled.
|
Related to #4334
Adds jest config for rwjs/core
We had a test in the @redwoodjs/core but no jest config, and no script to actually run it. :S Adds jest stuff back so the test actually runs (also updated the test)