Skip to content

Fixing unit tests

Fixing unit tests #12

Triggered via push December 4, 2025 09:30
Status Success
Total duration 1m 56s
Artifacts 1

ci.yml

on: push
Lint Code
43s
Lint Code
Run Tests with Coverage
1m 4s
Run Tests with Coverage
Build Application
41s
Build Application
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint Code: src/components/AssertionsForm.tsx#L69
'dataset.headers.length' is possibly 'undefined'.
Lint Code: src/components/AssertionsForm.test.tsx#L573
'user' is declared but its value is never read.
Lint Code: src/components/AssertionsForm.test.tsx#L513
'user' is declared but its value is never read.
Lint Code: src/components/AssertionsForm.test.tsx#L366
'user' is declared but its value is never read.
Lint Code: src/components/AssertionsForm.test.tsx#L48
'mockOptions' is declared but its value is never read.
Lint Code: src/App.tsx#L388
'project.dataset' is possibly 'undefined'.
Lint Code: src/App.tsx#L155
'progress' is declared but its value is never read.
Lint Code: src/App.tsx#L154
'promptfooInstalled' is declared but its value is never read.
Lint Code: src/App.test.tsx#L249
'container' is declared but its value is never read.
Lint Code: src/App.test.tsx#L229
'user' is declared but its value is never read.
Lint Code: electron/firstLaunch.ts#L827
'installPromptfooWithBrewSudo' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L701
'handleLinuxFirstLaunch' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L631
'handleWindowsFirstLaunch' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L591
'progressDialog' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L553
'handleMacOSFirstLaunch' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L525
'output' is assigned a value but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L11
'InstallStep' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/firstLaunch.ts#L10
'os' is defined but never used. Allowed unused vars must match /^_/u
Lint Code: electron/envManager.ts#L199
Unexpected any. Specify a different type
Lint Code: electron/dotenv-loader.ts#L25
'error' is defined but never used

Artifacts

Produced during runtime
Name Size Digest
coverage-report Expired
859 KB
sha256:8d6c9ef1e282896b61684057f65707581685185083748d72b5560a8167f2bc58