-
Notifications
You must be signed in to change notification settings - Fork 259
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(deps): update dependency react-router-dom to v7 (#1643)
* fix(deps): update dependency react-router-dom to v7 * fix textencoder error Signed-off-by: Adam Setch <adam.setch@outlook.com> * Update jest.setup.ts * Update jest.setup.ts * Update jest.setup.ts --------- Signed-off-by: Adam Setch <adam.setch@outlook.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Adam Setch <adam.setch@outlook.com>
- Loading branch information
1 parent
3d6b2ba
commit 1f8ef91
Showing
5 changed files
with
58 additions
and
26 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { TextDecoder, TextEncoder } from 'node:util'; | ||
|
||
// Prevent "ReferenceError: TextEncoder is not defined" or "ReferenceError: TextDecoder is not defined" errors | ||
if (!global.TextEncoder || !global.TextDecoder) { | ||
global.TextEncoder = TextEncoder; | ||
global.TextDecoder = TextDecoder; | ||
} | ||
|
||
// Mock OAuth client ID and secret | ||
process.env.OAUTH_CLIENT_ID = 'FAKE_CLIENT_ID_123'; | ||
process.env.OAUTH_CLIENT_SECRET = 'FAKE_CLIENT_SECRET_123'; |
This file was deleted.
Oops, something went wrong.