increase coverage, add header test, allow octet-stream as a mimetype #202
Annotations
7 errors and 3 warnings
|
Lint:
src/utils/isImageURI.ts#L21
Replace `'FFD8FF'` with `FFD8FF`
|
Lint:
src/utils/isImageURI.ts#L25
Replace `'FF0A'` with `FF0A`
|
Lint:
test/resolver.test.ts#L611
Delete `⏎`
|
Lint:
test/utils.test.ts#L64
Replace `·ipfs:·'https://custom-ipfs.io'` with `⏎········ipfs:·'https://custom-ipfs.io',⏎·····`
|
Lint:
test/utils.test.ts#L324
Replace `·metadata:·{·image:·invalidBase64·},·jsdomWindow` with `⏎······metadata:·{·image:·invalidBase64·},⏎······jsdomWindow,⏎···`
|
Lint
Process completed with exit code 1.
|
Use Node 18.x
Unexpected input(s) 'cache', valid inputs are ['always-auth', 'node-version', 'registry-url', 'scope', 'version']
|
Lint:
src/utils/isImageURI.ts#L73
Expected an error object to be thrown
|
Lint:
test/utils.test.ts#L253
Expected an error object to be thrown
|
Loading