mirror of
https://github.com/tc39/test262.git
synced 2025-04-08 19:35:28 +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
|
||||
esid: sec-finishdynamicimport
|
||||
features: [dynamic-import]
|
||||
flags: [async, module]
|
||||
flags: [async]
|
||||
info: |
|
||||
Runtime Semantics: FinishDynamicImport ( referencingScriptOrModule, specifier, promiseCapability, completion )
|
||||
|
||||
@ -26,7 +26,7 @@ info: |
|
||||
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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user