next.js
a5d0ad14 - [turbopack] Add execution tests to demonstrate a bug (#80918)

Commit
219 days ago
[turbopack] Add execution tests to demonstrate a bug (#80918) ## Add tests for top level `this` behavior in CJS and ESM modules ### What? Added two test cases to verify the behavior of `this` in CommonJS and ESM modules: - CJS test verifies that `this` should be equal to `exports` - ESM test verifies that `this` should be equal to `globalThis` WHICH IS A BUG, it should be `undefined`
Author
Parents
Loading