diff --git a/test/built-ins/ShadowRealm/prototype/importValue/not-constructor.js b/test/built-ins/ShadowRealm/prototype/importValue/not-constructor.js index 859488317a..f7359e09d6 100644 --- a/test/built-ins/ShadowRealm/prototype/importValue/not-constructor.js +++ b/test/built-ins/ShadowRealm/prototype/importValue/not-constructor.js @@ -27,5 +27,5 @@ assert.throws(TypeError, () => { const r = new ShadowRealm(); assert.throws(TypeError, () => { - new r.imporValue("./import-value_FIXTURE.js", "x"); -}, '`new r.imporValue("...")` throws TypeError'); + new r.importValue("./import-value_FIXTURE.js", "x"); +}, '`new r.importValue("...")` throws TypeError');