Open
Description
Bug Report
The @edge-runtime/jest-environment
package allows simulating the Edge runtime when running Jest in a node environment, so it should not allow access to node apis such as Buffer
.
Current behavior
Right now, it's possible to access Buffer
in a test case.
Expected behavior/code
Buffer
will not be available in production when using the edge runtime, so it should also be unavailable in tests.
That way, we can catch in tests when unavailable APIs are used.
Possible solution
Metadata
Metadata
Assignees
Labels
No labels