mirror of
https://github.com/tc39/test262.git
synced 2025-07-27 07:54:41 +02:00
Simplify default-property-not-set-own.js test by making it not import itself
This commit is contained in:
parent
a0fbe4aa9a
commit
65731d7d96
@ -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: |
|
|||||||
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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user