mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
Fix ShadowRealm/prototype/importValue/not-constructor.js
This commit is contained in:
parent
adce88e717
commit
3f6708fa04
@ -27,5 +27,5 @@ assert.throws(TypeError, () => {
|
|||||||
const r = new ShadowRealm();
|
const r = new ShadowRealm();
|
||||||
|
|
||||||
assert.throws(TypeError, () => {
|
assert.throws(TypeError, () => {
|
||||||
new r.imporValue("./import-value_FIXTURE.js", "x");
|
new r.importValue("./import-value_FIXTURE.js", "x");
|
||||||
}, '`new r.imporValue("...")` throws TypeError');
|
}, '`new r.importValue("...")` throws TypeError');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user