Open mgcrea opened 2 weeks ago
Add missing @jest/globals dev dev to package.json
Why is this needed? Can you clarify?
Just created a new app and did have the error with the missing import from this line in my App.test.tsx
:
import { it } from "@jest/globals";
But looking at the master it looks like it has been removed at some point.
I think it should be added back as it is required for TypeScript compatibility (see https://jestjs.io/docs/api)
Summary:
Add missing @jest/globals dev dev to package.json
Changelog:
Test Plan: