Cleanup provider constructors #33
Annotations
8 errors and 2 notices
/api/v1/stream returns expected response:
tests/e2e/api.test.ts#L98
[Error [ERR_TEST_FAILURE]: Expected values to be strictly equal:
+ actual - expected
+ 'application/json; charset=utf-8'
- 'text/event-stream'] {
code: 'ERR_TEST_FAILURE',
failureType: 'testCodeFailure',
cause: AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ 'application/json; charset=utf-8'
- 'text/event-stream'
at TestContext.<anonymous> (/home/runner/work/ai-warp/ai-warp/tests/e2e/api.test.ts:98:14)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Test.run (node:internal/test_runner/test:640:9)
at async Suite.processPendingSubtests (node:internal/test_runner/test:382:7) {
generatedMessage: true,
code: 'ERR_ASSERTION',
actual: 'application/json; charset=utf-8',
expected: 'text/event-stream',
operator: 'strictEqual'
}
}
|
E2E Tests
Process completed with exit code 1.
|
Linting:
ai-providers/mistral.ts#L55
Use an `interface` instead of a `type`
|
Linting:
ai-providers/mistral.ts#L56
Unexpected separator
|
Linting:
ai-providers/ollama.ts#L40
Use an `interface` instead of a `type`
|
Linting:
ai-providers/ollama.ts#L41
Unexpected separator
|
Linting:
ai-providers/open-ai.ts#L84
Use an `interface` instead of a `type`
|
Linting
Process completed with exit code 1.
|
E2E Tests
Total Tests: 15
Suites 📂: 3
Passed ✅: 14
Failed ❌: 1
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 3517.292ms
|
Unit Tests
Total Tests: 12
Suites 📂: 4
Passed ✅: 12
Failed ❌: 0
Canceled 🚫: 0
Skipped ⏭️: 0
Todo 📝: 0
Duration 🕐: 1203.564ms
|