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

chore(generate): Refactor how page tests are written #6825

Merged
merged 3 commits into from
Nov 10, 2022

Conversation

dac09
Copy link
Collaborator

@dac09 dac09 commented Nov 8, 2022

...to help with memory usage/speed.

This just removes the beforeAll block, and moves tests into describe or test blocks, with only the variables that are needed in that group.

Related to #6451

@dac09 dac09 added the release:chore This PR is a chore (means nothing for users) label Nov 8, 2022
@dac09 dac09 added the fixture-ok Override the test project fixture check label Nov 8, 2022
@jtoar jtoar merged commit fbb7acd into redwoodjs:main Nov 10, 2022
@redwoodjs-bot redwoodjs-bot bot added this to the next-release milestone Nov 10, 2022
github-actions bot pushed a commit that referenced this pull request Nov 10, 2022
* chore(generate): Refactor how page tests are written to help with memory usage/speed

* fix incorrect snapshot
jtoar pushed a commit that referenced this pull request Nov 10, 2022
* chore(generate): Refactor how page tests are written to help with memory usage/speed

* fix incorrect snapshot
@jtoar jtoar modified the milestones: next-release, v3.5.0 Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixture-ok Override the test project fixture check release:chore This PR is a chore (means nothing for users)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants