Open
Description
Environment
See reproduction.
Reproduction
https://stackblitz.com/edit/jiti-interopdefault-testing?file=src%2Fmain.ts
Describe the bug
In upgrading to v2 for docusaurus, I'm discovering some odd behavior.
It seems that the Proxy implementation for interopDefault may not be entirely working as expected. In the repro link, you can see that the properties are accessible, but only when directly accessing the properties (since that's how Proxies work). The issue is that this is seemingly causing issues with testing.
Additional context
We are tracking the upgrade at facebook/docusaurus#10716
Logs
No response
Activity