diff --git a/test/built-ins/ShadowRealm/prototype/evaluate/returns-proxy-callable-object.js b/test/built-ins/ShadowRealm/prototype/evaluate/returns-proxy-callable-object.js index 7a35dff1591..db194c6809f 100644 --- a/test/built-ins/ShadowRealm/prototype/evaluate/returns-proxy-callable-object.js +++ b/test/built-ins/ShadowRealm/prototype/evaluate/returns-proxy-callable-object.js @@ -22,3 +22,4 @@ new Proxy(fn, {}); assert.sameValue(typeof proxyCallable, 'function', 'wrapped proxy callable object is typeof function'); assert.sameValue(proxyCallable(), 42, 'wrappedpfn() returns 42'); +assert.sameValue(proxyCallable instanceof Proxy, false, 'the wrapped function "hides" the proxy instance');