MCPcopy Create free account
hub / github.com/nodejs/node / runTestShouldThrow

Function runTestShouldThrow

deps/v8/test/webkit/class-syntax-name.js:36–39  ·  view source on GitHub ↗
(statement)

Source from the content-addressed store, hash-verified

34}
35
36function runTestShouldThrow(statement) {
37 shouldThrow(statement);
38 shouldThrow("'use strict'; " + statement);
39}
40
41function runTestShouldNotThrow(statement) {
42 shouldNotThrow(statement);

Callers 1

Calls 1

shouldThrowFunction · 0.50

Tested by

no test coverage detected