Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/nodejs/node
/ checkExpectedException
Function
checkExpectedException
deps/v8/test/mjsunit/big-array-literal.js:102–105 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
100
101
102
function
checkExpectedException(e) {
103
assertInstanceof(e, RangeError);
104
assertTrue(e.message.indexOf(
"Maximum call stack size exceeded"
) >= 0);
105
}
106
107
108
function
testLiteralAndCatch(size) {
Callers
1
testLiteralAndCatch
Function · 0.70
Calls
3
assertInstanceof
Function · 0.85
assertTrue
Function · 0.70
indexOf
Method · 0.45
Tested by
no test coverage detected