-
Notifications
You must be signed in to change notification settings - Fork 236
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
966d0fa
commit 6800a46
Showing
5 changed files
with
17 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Use this to create a new user and login with that user | ||
// Simply call this with: | ||
// npx ts-node -r tsconfig-paths/register ./cypress/support/create-user.ts [email protected] | ||
// npx tsx ./cypress/support/create-user.ts [email protected] | ||
// and it will log out the cookie value you can use to interact with the server | ||
// as that new user. | ||
|
||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// Use this to delete a user by their email | ||
// Simply call this with: | ||
// npx ts-node -r tsconfig-paths/register ./cypress/support/delete-user.ts [email protected] | ||
// npx tsx ./cypress/support/delete-user.ts [email protected] | ||
// and that user will get deleted | ||
|
||
import { PrismaClientKnownRequestError } from "@prisma/client/runtime/library"; | ||
|
This file contains 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 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