Skip to content
Snippets Groups Projects
Commit 65731d7d authored by Jon Coppeard's avatar Jon Coppeard
Browse files

Simplify default-property-not-set-own.js test by making it not import itself

parent a0fbe4aa
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
description: The default property is not set the if the module doesn't export any default description: The default property is not set the if the module doesn't export any default
esid: sec-finishdynamicimport esid: sec-finishdynamicimport
features: [dynamic-import] features: [dynamic-import]
flags: [async, module] flags: [async]
info: | info: |
Runtime Semantics: FinishDynamicImport ( referencingScriptOrModule, specifier, promiseCapability, completion ) Runtime Semantics: FinishDynamicImport ( referencingScriptOrModule, specifier, promiseCapability, completion )
...@@ -26,7 +26,7 @@ info: | ...@@ -26,7 +26,7 @@ info: |
5. Return namespace. 5. Return namespace.
---*/ ---*/
import('./default-property-not-set-own.js').then(ns => { import('./empty_FIXTURE.js').then(ns => {
assert.sameValue(Object.prototype.hasOwnProperty.call(ns, 'default'), false); assert.sameValue(Object.prototype.hasOwnProperty.call(ns, 'default'), false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment