-
Notifications
You must be signed in to change notification settings - Fork 915
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
Safevalues TypeError
in Jest Test
#8386
Comments
This issue was introduced in |
Since Jest runs in a Node environment, it uses our CJS bundle which is in es5. This causes an issue at To fix this, we need to make sure all our bundles that use safevalues use native template tag function instead of |
Closed by #8395 |
Operating System
MacOS
Browser Version
JestDOM
Firebase SDK Version
10.12.4
Firebase SDK Product:
AppCheck
Describe your project's tooling
Next.js template app, tested with Jest.
https://nextjs.org/docs/app/building-your-application/testing/jest
jest.config.ts
:Describe the problem
When running
npx jest
, the following error occurs:The file being tested:
page.test.tsx
:Steps and code to reproduce issue
create-next-app
, and Jestpage.test.ts
abovenpx jest
The text was updated successfully, but these errors were encountered: