-
Notifications
You must be signed in to change notification settings - Fork 460
Persist Roles and Permissions between test runs #854
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
Merged
kentcdodds
merged 33 commits into
epicweb-dev:main
from
devneill:pr/persist-roles-and-permissions-between-tests
Oct 1, 2024
Merged
Changes from 5 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
1058b3a
run custom db reset in cleanupDb
devneill 0fa8a20
reset test db with prisma reset
devneill ee9ec4e
run prisma reset via spawn
devneill d5afca7
use custom db reset
devneill 6bf0771
Update tests/db-utils.ts
kentcdodds 7cc50fd
Update prisma/migrations/20230914194400_init/migration.sql
kentcdodds ac110c0
remove extra line (whoops)
kentcdodds 99af7cd
whoops
kentcdodds 8d2be4c
improve error logging
devneill c142a92
Update tests/db-utils.ts
kentcdodds 17686c9
log failed statement as error
devneill 9fae585
trigger CI rerun
devneill 63c021a
throw error again
devneill c117336
trigger rerun again
devneill 2db0918
one more time
devneill 03edf6c
and again
devneill 55b7950
use console.warn again
devneill 50490e4
retrigger
devneill 0744470
retrigger
devneill 112bd0d
retrigger
devneill 3fbaa78
remove trigger line
devneill a411a4a
Wrap statement execution in a transaction
devneill e279227
Try map
devneill bdfb389
explicitly set isolation level
devneill 8de38de
retrigger
devneill b3e5377
retrigger
devneill bfa6b99
retrigger
devneill eb2dd60
retrigger
devneill 1b0be2b
retrigger
devneill ccebfbf
remove explicit isolation level config
devneill 39c2702
Remove unused import
devneill 3c975b9
try switching to better-sqlite3
kentcdodds 4d9537b
lint issue
kentcdodds File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.