Skip to content

chore: fix code coverage errors #2960

chore: fix code coverage errors

chore: fix code coverage errors #2960

Triggered via push October 18, 2023 19:07
Status Failure
Total duration 3m 52s
Artifacts 1

ci.yml

on: push
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
lint / lint: src/common/common.test.ts#L1008
Replace `"true",·DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean")` with `⏎··········"true",⏎··········DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean"),⏎········`
lint / lint: src/common/common.test.ts#L1016
Replace `"false",·DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean")` with `⏎··········"false",⏎··········DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean"),⏎········`
lint / lint: src/common/common.test.ts#L1024
Replace `"false",·DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean")` with `⏎··········"false",⏎··········DataFactory.namedNode("http://www.w3.org/2001/XMLSchema#boolean"),⏎········`
lint / lint: src/common/common.test.ts#L1032
Replace `"http://example.org/known/to/be/iri/from/predicate"` with `⏎··········"http://example.org/known/to/be/iri/from/predicate",⏎········`
lint / lint: src/common/common.test.ts#L1070
Insert `,`
lint / lint: src/parser/jsonld.test.ts#L120
Insert `⏎······`
lint / lint: src/parser/jsonld.test.ts#L121
Replace `······allowContextFetching:·false` with `········allowContextFetching:·false,`
lint / lint: src/parser/jsonld.test.ts#L122
Replace `····})).rejects.toThrowError('Unexpected·context·requested·[http://example.org/my/remote/context]'` with `······}),⏎····).rejects.toThrowError(⏎······"Unexpected·context·requested·[http://example.org/my/remote/context]",⏎····`
lint / lint
Process completed with exit code 1.
lint / lint: src/parser/jsonld.test.ts#L122
Replace toThrowError() with its canonical name of toThrow()

Artifacts

Produced during runtime
Name Size
code-coverage-ubuntu-latest-20.x Expired
399 KB