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

Function testTryCatch

deps/v8/tools/clusterfuzz/js_fuzzer/test/test_try_catch.js:26–32  ·  view source on GitHub ↗
(source, expected)

Source from the content-addressed store, hash-verified

24}
25
26function testTryCatch(source, expected) {
27 const mutator = new tryCatch.AddTryCatchMutator();
28 mutator.mutate(source);
29
30 const mutated = sourceHelpers.generateCode(source);
31 helpers.assertExpectedResult(expected, mutated);
32}
33
34describe('Try catch', () => {
35 afterEach(() => {

Callers 1

test_try_catch.jsFile · 0.85

Calls 1

mutateMethod · 0.45

Tested by

no test coverage detected