-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: expand the missing ui error message to provide more info on com…
…mon errors (#860) * feat: expand the missing ui error message to provide more info on common errors * test: fix react 16 tests * feat: expand the error message a bit more
- Loading branch information
Showing
4 changed files
with
9 additions
and
4 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -191,7 +191,7 @@ describe("SuperTokens SignIn with react router dom v5", function () { | |
assert.strictEqual(request.headers().rid, "emailpassword"); | ||
assert.strictEqual( | ||
request.postData(), | ||
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"********"}]}' | ||
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"********"}],"shouldTryLinkingWithSessionUser":false}' | ||
); | ||
|
||
assert.strictEqual(response.status, "WRONG_CREDENTIALS_ERROR"); | ||
|
@@ -272,7 +272,7 @@ describe("SuperTokens SignIn with react router dom v5", function () { | |
assert.strictEqual(request.headers().rid, "emailpassword"); | ||
assert.strictEqual( | ||
request.postData(), | ||
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"Str0ngP@ssw0rd"}]}' | ||
'{"formFields":[{"id":"email","value":"[email protected]"},{"id":"password","value":"Str0ngP@ssw0rd"}],"shouldTryLinkingWithSessionUser":false}' | ||
); | ||
|
||
assert.strictEqual(response.status, "OK"); | ||
|