You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When two test files import a same module, cypress resolves each import from scratch instead using the same reference. This behavior is different from node/require imports.
Is this a Feature or Bug?
Bug
Current behavior:
When two test files import a same module, cypress resolves each import from scratch instead using the same reference. This behavior is different from node/require imports.
Desired behavior:
Cypress should import modules the same as node.
How to reproduce:
cypress/utils.js:
cypress/integration/test1.js
cypress/integration/test2.js
When running all, cypress logs two different keys. The same import in nodejs results the same key.
Additional Info (images, stack traces, etc)
cypress-test.zip
The text was updated successfully, but these errors were encountered: