MCPcopy Index your code
hub / github.com/nodejs/node / testI18NCharacters

Function testI18NCharacters

test/parallel/test-inspector.js:150–165  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

148}
149
150async function testI18NCharacters(session) {
151 console.log('[test]', 'Verify sending and receiving UTF8 characters');
152 const chars = 'טֶ字и';
153 session.send({
154 'method': 'Debugger.evaluateOnCallFrame', 'params': {
155 'callFrameId': session.pausedDetails().callFrames[0].callFrameId,
156 'expression': `console.log("${chars}")`,
157 'objectGroup': 'console',
158 'includeCommandLineAPI': true,
159 'silent': false,
160 'returnByValue': false,
161 'generatePreview': true
162 }
163 });
164 await session.waitForConsoleOutput('log', [chars]);
165}
166
167async function testCommandLineAPI(session) {
168 const testModulePath = require.resolve('../fixtures/empty.js');

Callers 1

runTestFunction · 0.85

Calls 4

pausedDetailsMethod · 0.80
waitForConsoleOutputMethod · 0.80
sendMethod · 0.65
logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…