diff --git a/packages/module-source/test/module-source.test.js b/packages/module-source/test/module-source.test.js index 1ddf5dfb1f..0f8a1472cd 100644 --- a/packages/module-source/test/module-source.test.js +++ b/packages/module-source/test/module-source.test.js @@ -797,3 +797,12 @@ test.failing('should support export of defaulted extraction', t => { `); t.pass(); }); + +test.failing('should support export const object with default', t => { + const _ = new ModuleSource(` + export const { + x = undefined, + } = globalThis; + `); + t.pass(); +});