Skip to content

Cannot read properties of undefined (reading 'AUTHENTICATOR') #1995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AlbertFiat24 opened this issue Oct 23, 2024 · 1 comment
Closed

Cannot read properties of undefined (reading 'AUTHENTICATOR') #1995

AlbertFiat24 opened this issue Oct 23, 2024 · 1 comment

Comments

@AlbertFiat24
Copy link

Works everything correctly in development / production. But when running the unit tests in v9.x.x, I get the error:

TypeError: Cannot read properties of undefined (reading 'AUTHENTICATOR')

When importing:
import { Web3Auth } from "@web3auth/modal";

Running the tests in NextJS v15 and Jest v29.7.0

@chaitanyapotti
Copy link
Member

Fixed in v10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants