Adding WebView2 support, changed screen recording logic and changed logic of attaching root element #21
Annotations
3 errors
|
Run unit tests
Process completed with exit code 1.
|
|
Run unit tests:
test/commands/extension/startRecordingScreen.test.ts#L69
AssertionError: expected "spy" to be called with arguments: [ 'C:\rec.mp4', …(2) ]
Received:
1st spy call:
Array [
"C:\\rec.mp4",
Object {
+ "_screenRecorder": Object {
+ "isRunning": [Function spy],
+ "start": [Function spy],
+ "stop": [Function spy],
+ },
+ "assertFeatureEnabled": [Function spy],
+ "log": Object {
"debug": [Function spy],
"info": [Function spy],
},
- ObjectContaining {
+ "sendPowerShellCommand": [Function spy],
+ },
+ Object {
"audioInput": "Microphone",
"captureClicks": true,
"captureCursor": true,
"fps": 30,
"preset": "ultrafast",
"timeLimit": 60,
"videoFilter": "scale=1280:-2",
},
]
Number of calls: 1
❯ test/commands/extension/startRecordingScreen.test.ts:69:36
|
|
Run unit tests:
test/commands/extension/startRecordingScreen.test.ts#L45
AssertionError: expected "spy" to be called with arguments: [ 'C:\temp\rec.mp4', …(2) ]
Received:
1st spy call:
Array [
"C:\\temp\\rec.mp4",
Object {
+ "_screenRecorder": Object {
+ "isRunning": [Function spy],
+ "start": [Function spy],
+ "stop": [Function spy],
+ },
+ "assertFeatureEnabled": [Function spy],
+ "log": Object {
"debug": [Function spy],
"info": [Function spy],
+ },
+ "sendPowerShellCommand": [Function spy],
},
- Any<Object>,
+ Object {
+ "audioInput": undefined,
+ "captureClicks": undefined,
+ "captureCursor": undefined,
+ "fps": undefined,
+ "preset": undefined,
+ "timeLimit": undefined,
+ "videoFilter": undefined,
+ },
]
Number of calls: 1
❯ test/commands/extension/startRecordingScreen.test.ts:45:36
|
Loading