test: fix 3 listener shutdown tests — close WebSocket before stop() #88
Annotations
3 errors and 10 warnings
|
typecheck
Process completed with exit code 2.
|
|
test
Process completed with exit code 1.
|
|
error: expect(received).toBe(expected):
packages/tinycode/test/server/httpapi-listen.test.ts#L312
Expected: 200
Received: 401
at <anonymous> (/home/runner/work/tinycode/tinycode/packages/tinycode/test/server/httpapi-listen.test.ts:312:31)
|
|
eslint(no-underscore-dangle):
packages/llm/test/generate-object.test.ts#L157
Unexpected dangling '_' in '`_tag`'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L216
Variable 'inspectFakeProvider' is declared but never used. Unused variables should start with a '_'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L142
Variable 'generateDynamicObject' is declared but never used. Unused variables should start with a '_'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L127
Variable 'generateStructuredObject' is declared but never used. Unused variables should start with a '_'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L77
Variable 'streamText' is declared but never used. Unused variables should start with a '_'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L67
Variable 'generateOnce' is declared but never used. Unused variables should start with a '_'.
|
|
eslint(no-unused-vars):
packages/llm/example/tutorial.ts#L55
Variable 'rawOverlayExample' is declared but never used. Unused variables should start with a '_'.
|
|
unicorn(no-useless-spread):
packages/http-recorder/src/redaction.ts#L78
Using a spread operator here creates a new array unnecessarily.
|
|
eslint(no-underscore-dangle):
packages/tinycode/src/tool/read.ts#L217
Unexpected dangling '_' in '`_tag`'.
|
|
unicorn(no-useless-fallback-in-spread):
packages/http-recorder/src/cassette.ts#L50
Empty fallbacks in spreads are unnecessary
|