Skip to content

Audit and optimize test coverage and quality #1

Audit and optimize test coverage and quality

Audit and optimize test coverage and quality #1

Triggered via pull request November 11, 2025 08:32
Status Failure
Total duration 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 10 warnings
Type Check: src/lib/plugins/code-highlight.test.ts#L104
'node' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L103
'node' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L86
Type 'unknown' is not assignable to type 'RootContent'.
Type Check: src/lib/plugins/code-highlight.test.ts#L79
'transformed' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L78
'transformed' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L62
Type 'unknown' is not assignable to type 'RootContent'.
Type Check: src/lib/plugins/code-highlight.test.ts#L55
'transformed' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L54
'transformed' is of type 'unknown'.
Type Check: src/lib/plugins/code-highlight.test.ts#L38
Type 'unknown' is not assignable to type 'RootContent'.
Type Check: src/hooks.server.ts#L2
Cannot find module '$lib/server/rate-limiter' or its corresponding type declarations.
Test & Coverage
Process completed with exit code 1.
Lint: src/lib/components/CodeTabs.svelte#L170
`{@html}` can lead to XSS attack
Lint: site/src/routes/docs/[...slug]/+page.server.ts#L171
Unexpected any. Specify a different type
Lint: site/src/routes/docs/[...slug]/+page.server.ts#L155
Unexpected any. Specify a different type
Lint: site/src/routes/docs/[...slug]/+page.server.ts#L139
Unexpected any. Specify a different type
Lint: site/src/routes/docs/[...slug]/+page.server.ts#L78
Unexpected any. Specify a different type
Lint: site/src/routes/docs/+layout.server.ts#L54
Unexpected any. Specify a different type
Lint: site/src/lib/utils/sanitize.ts#L69
Found non-literal argument to RegExp Constructor
Lint: site/src/lib/utils/sanitize.ts#L68
Found non-literal argument to RegExp Constructor
Lint: packages/docs-engine-cli/src/link-extractor.ts#L117
Unsafe Regular Expression
Lint: packages/create-docs-engine/src/index.ts#L280
Function Call Object Injection Sink