(session)
| 148 | } |
| 149 | |
| 150 | async 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 | |
| 167 | async function testCommandLineAPI(session) { |
| 168 | const testModulePath = require.resolve('../fixtures/empty.js'); |
no test coverage detected
searching dependent graphs…