Skip to content

Added tests

Added tests #76

Triggered via pull request June 8, 2024 21:50
@marekdedicmarekdedic
synchronize #3
tests
Status Failure
Total duration 29s
Artifacts

CI.yml

on: pull_request
Matrix: Test
Close parallel coverage
0s
Close parallel coverage
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Lint
Process completed with exit code 1.
Test (16, 3, 4): __tests__/specs/headers/X-Xss-Protection/sanitize+report-options.ts#L8
Conversion of type '{ headers: { action: "set"; header: "X-Xss-Protection"; value: { mode: "sanitize"; reportUri: string; }; }[]; }' to type 'Partial<Options>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test (16, 3, 4)
Process completed with exit code 2.
Test (22, 4, 5)
The job was canceled because "_16_3_4" failed.
Test (22, 4, 5): __tests__/specs/headers/X-Xss-Protection/sanitize+report-options.ts#L8
Conversion of type '{ headers: { action: "set"; header: "X-Xss-Protection"; value: { mode: "sanitize"; reportUri: string; }; }[]; }' to type 'Partial<Options>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test (22, 4, 5)
Process completed with exit code 2.
Test (20, 4, 5)
The job was canceled because "_16_3_4" failed.
Test (20, 4, 5): __tests__/specs/headers/X-Xss-Protection/sanitize+report-options.ts#L8
Conversion of type '{ headers: { action: "set"; header: "X-Xss-Protection"; value: { mode: "sanitize"; reportUri: string; }; }[]; }' to type 'Partial<Options>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test (20, 4, 5)
Process completed with exit code 2.
Test (18, 4, 5)
The job was canceled because "_16_3_4" failed.
Test (18, 4, 5): __tests__/specs/headers/X-Xss-Protection/sanitize+report-options.ts#L8
Conversion of type '{ headers: { action: "set"; header: "X-Xss-Protection"; value: { mode: "sanitize"; reportUri: string; }; }[]; }' to type 'Partial<Options>' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Test (18, 4, 5)
Process completed with exit code 2.
Test (14, 3, 4)
The job was canceled because "_16_3_4" failed.
Test (14, 3, 4)
The operation was canceled.