This repository has been archived by the owner on May 4, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(storybook): add missing
validateResetToken
mock
- Loading branch information
1 parent
0d9362a
commit 6f58c32
Showing
3 changed files
with
63 additions
and
1 deletion.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
.yarn/patches/@redwoodjs-testing-npm-2.1.0-08cd0c4f7e.patch
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
diff --git a/dist/web/MockProviders.js b/dist/web/MockProviders.js | ||
index fcaa1bd8e40b00ac9311fbb60b07bfb3506e9b15..818d2951e333e3a1d5b6199ae56b5d416e489566 100644 | ||
--- a/dist/web/MockProviders.js | ||
+++ b/dist/web/MockProviders.js | ||
@@ -61,13 +61,14 @@ const mockAuthClient = { | ||
logout: () => {}, | ||
signup: () => {}, | ||
getToken: () => { | ||
- return 'token'; | ||
+ return "token"; | ||
}, | ||
getUserMetadata: () => { | ||
return _mockRequests.mockedUserMeta.currentUser; | ||
}, | ||
- client: 'Custom', | ||
- type: 'custom' | ||
+ validateResetToken: () => {}, | ||
+ client: "Custom", | ||
+ type: "custom", | ||
}; | ||
exports.mockAuthClient = mockAuthClient; | ||
|
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