chore(lint): burn down remaining warnings to zero
This commit is contained in:
@@ -52,12 +52,18 @@ describe('AgentConfigRegistry', () => {
|
||||
});
|
||||
|
||||
expect(registry.list()).toHaveLength(2);
|
||||
const assistant = registry.get('assistant')!;
|
||||
const assistant = registry.get('assistant');
|
||||
if (!assistant) {
|
||||
throw new Error('Expected assistant config');
|
||||
}
|
||||
expect(assistant.systemPrompt).toBe('Be helpful.');
|
||||
expect(assistant.modelTier).toBe('default');
|
||||
expect(assistant.toolProfile).toBe('messaging');
|
||||
|
||||
const coder = registry.get('coder')!;
|
||||
const coder = registry.get('coder');
|
||||
if (!coder) {
|
||||
throw new Error('Expected coder config');
|
||||
}
|
||||
expect(coder.sandbox).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { describe, it, expect } from 'vitest';
|
||||
import { AgentRouter } from './router.js';
|
||||
import type { RoutingConfig } from '../config/schema.js';
|
||||
|
||||
describe('AgentRouter', () => {
|
||||
describe('resolve()', () => {
|
||||
|
||||
Reference in New Issue
Block a user