-
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.
feat: optimize commands for Bun (#218)
- Loading branch information
1 parent
270a0d4
commit 7c5d400
Showing
5 changed files
with
32 additions
and
8 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 --require tsconfig-paths/register ./cypress/support/create-user.ts [email protected] | ||
// npx ts-node -r tsconfig-paths/register ./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 --require tsconfig-paths/register ./cypress/support/delete-user.ts [email protected] | ||
// npx ts-node -r tsconfig-paths/register ./cypress/support/delete-user.ts [email protected] | ||
// and that user will get deleted | ||
|
||
import { PrismaClientKnownRequestError } from "@prisma/client/runtime"; | ||
|
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