Skip to content

Use vitest

Use vitest #74

Triggered via push October 14, 2024 15:02
Status Failure
Total duration 37s
Artifacts

push.yml

on: push
Lint, build, and test on node 20.x and ubuntu-latest
27s
Lint, build, and test on node 20.x and ubuntu-latest
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 1 warning
Lint, build, and test on node 20.x and ubuntu-latest: src/index.ts#L58
Invalid type "string | undefined" of template literal expression
Lint, build, and test on node 20.x and ubuntu-latest: src/index.ts#L72
Invalid type "string | undefined" of template literal expression
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L106
Unnecessary conditional, the types have no overlap
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L279
`substr` is deprecated. A legacy feature for browser compatibility
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L280
`substr` is deprecated. A legacy feature for browser compatibility
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L315
Unnecessary conditional, the types have no overlap
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L323
Invalid type "any" of template literal expression
Lint, build, and test on node 20.x and ubuntu-latest
Process completed with exit code 1.
Lint, build, and test on node 20.x and ubuntu-latest: src/parse.ts#L11
'e' is defined but never used