Closed KittyGiraudel closed 3 months ago
Yes see comment above—we want to make sure we’re using the dist/
in the root, and not copying it anywhere else.
Or, if Cypress needs a special setup to make it happy, that’s fine. But the vanilla Node.js tests should be using the root dist
folder, that way you’re sure you’re testing the package exactly as it ships to npm.
@drwpow-figma I started with the approach you recommended in #702. It works perfectly fine for the CJS tests, but the ESM ones fail like this:
Do you have an idea why?