MCPcopy 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
102function checkExpectedException(e) {
103 assertInstanceof(e, RangeError);
104 assertTrue(e.message.indexOf("Maximum call stack size exceeded") >= 0);
105}
106
107
108function testLiteralAndCatch(size) {

Callers 1

testLiteralAndCatchFunction · 0.70

Calls 3

assertInstanceofFunction · 0.85
assertTrueFunction · 0.70
indexOfMethod · 0.45

Tested by

no test coverage detected