fix(tests): correct provider.service and chat-security test assertions
- Fix ProviderService constructor call: pass null for optional credentialsService - Update Anthropic model order to match AnthropicAdapter registration (opus first) - Update OpenAI model list to match OpenAIAdapter (codex-gpt-5-4 only) - Update Z.ai assertion to verify glm-5 is present (Pi registry includes additional models) - Add reflect-metadata import to chat-security test to fix Reflect.getMetadata error Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'reflect-metadata';
|
||||
import { readFileSync } from 'node:fs';
|
||||
import { resolve } from 'node:path';
|
||||
import { validateSync } from 'class-validator';
|
||||
|
||||
Reference in New Issue
Block a user