Skip to content

Feature/webview support #20

Feature/webview support

Feature/webview support #20

Triggered via pull request April 14, 2026 17:32
Status Failure
Total duration 3m 22s
Artifacts

unit-test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
test
Process completed with exit code 1.
test/commands/extension/startRecordingScreen.test.ts > startRecordingScreen > passes options to ScreenRecorder: 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
test/commands/extension/startRecordingScreen.test.ts > startRecordingScreen > creates a ScreenRecorder and starts recording: 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