chore(deps): update joshdb dependencies to v2.0.0-next.c52cfc9.0 - autoclosed #2027
continuous-integration.yml
on: pull_request
Unit Tests
26s
Linting
31s
Compile Source Code
26s
Generate Documentation
27s
Upload coverage report to codecov
0s
Annotations
9 errors and 5 warnings
Compile Source Code:
src/lib/structures/Josh.ts#L88
Type 'JoshProvider<StoredValue> | MapProvider<StoredValue>' is not assignable to type 'JoshProvider<StoredValue>'.
|
Compile Source Code:
src/lib/structures/Josh.ts#L97
Argument of type 'AutoEnsureMiddleware<StoredValue>' is not assignable to parameter of type 'JoshMiddleware<object, StoredValue>'.
|
Compile Source Code
Process completed with exit code 1.
|
tests/lib/structures/Josh.test.ts > Josh > can be instantiated class > GIVEN class Josh w/ autoEnsure THEN returns middleware size 1:
src/lib/structures/Josh.ts#L2235
JoshError: The "hook" parameter for middleware was not found.
❯ Josh.error src/lib/structures/Josh.ts:2235:14
❯ Josh.use src/lib/structures/Josh.ts:177:20
❯ new Josh src/lib/structures/Josh.ts:97:12
❯ tests/lib/structures/Josh.test.ts:76:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { identifier: 'useMiddlewareHookNotFound', errors: [] }
|
tests/lib/structures/Josh.test.ts > Josh > can be instantiated class > GIVEN class Josh w/ middlewares THEN returns instance:
tests/lib/structures/Josh.test.ts#L93
AssertionError: expected +0 to be 1 // Object.is equality
- Expected
+ Received
- 1
+ 0
❯ tests/lib/structures/Josh.test.ts:93:37
|
tests/lib/structures/Josh.test.ts > Josh > can be instantiated class > GIVEN provider with invalid instance THEN emits warning:
tests/lib/structures/Josh.test.ts#L111
AssertionError: expected "spy" to be called once, but got 2 times
❯ tests/lib/structures/Josh.test.ts:111:19
|
tests/lib/structures/Josh.test.ts > Josh > middleware > use > GIVEN josh THEN add middleware:
src/lib/structures/Josh.ts#L2235
JoshError: The "hook" parameter for middleware was not found.
❯ Josh.error src/lib/structures/Josh.ts:2235:14
❯ Josh.use src/lib/structures/Josh.ts:177:20
❯ tests/lib/structures/Josh.test.ts:122:14
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { identifier: 'useMiddlewareHookNotFound', errors: [] }
|
Unit Tests
Process completed with exit code 1.
|
Generate Documentation
Process completed with exit code 1.
|
Compile Source Code
Unexpected input(s) 'vnode-version', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path']
|
Unit Tests
Unexpected input(s) 'vnode-version', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path']
|
Generate Documentation
Unexpected input(s) 'vnode-version', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path']
|
Linting
Unexpected input(s) 'vnode-version', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path']
|
Linting
Unexpected input(s) 'vnode-version', valid inputs are ['always-auth', 'node-version', 'node-version-file', 'architecture', 'check-latest', 'registry-url', 'scope', 'token', 'cache', 'cache-dependency-path']
|