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

Function test

deps/v8/test/inspector/runtime/console-formatter.js:12–18  ·  view source on GitHub ↗
(expression)

Source from the content-addressed store, hash-verified

10});
11
12async function test(expression) {
13 InspectorTest.logMessage(`Testing ${expression}...`);
14 const {result} = await Protocol.Runtime.evaluate({expression});
15 if ('exceptionDetails' in result) {
16 InspectorTest.logMessage(result.exceptionDetails);
17 }
18}
19
20InspectorTest.runAsyncTestSuite([
21 async function testFloatFormatter() {

Callers 2

protocol-test.jsFile · 0.50

Calls 1

evaluateMethod · 0.45

Tested by

no test coverage detected