fix: clean lint in auth-choice + tests

This commit is contained in:
Peter Steinberger
2026-01-13 04:47:47 +00:00
parent 9b44c80b30
commit 57db3f22a1
2 changed files with 1 additions and 4 deletions

View File

@@ -68,9 +68,7 @@ describe("buildBootstrapContextFiles", () => {
); );
expect(result?.content.length).toBeLessThan(long.length); expect(result?.content.length).toBeLessThan(long.length);
expect(result?.content.startsWith(long.slice(0, 120))).toBe(true); expect(result?.content.startsWith(long.slice(0, 120))).toBe(true);
expect(result?.content.endsWith(long.slice(-expectedTailChars))).toBe( expect(result?.content.endsWith(long.slice(-expectedTailChars))).toBe(true);
true,
);
expect(warnings).toHaveLength(1); expect(warnings).toHaveLength(1);
expect(warnings[0]).toContain("TOOLS.md"); expect(warnings[0]).toContain("TOOLS.md");
expect(warnings[0]).toContain("limit 200"); expect(warnings[0]).toContain("limit 200");

View File

@@ -51,7 +51,6 @@ import {
applySyntheticConfig, applySyntheticConfig,
applySyntheticProviderConfig, applySyntheticProviderConfig,
applyZaiConfig, applyZaiConfig,
MINIMAX_HOSTED_MODEL_REF,
MOONSHOT_DEFAULT_MODEL_REF, MOONSHOT_DEFAULT_MODEL_REF,
OPENROUTER_DEFAULT_MODEL_REF, OPENROUTER_DEFAULT_MODEL_REF,
SYNTHETIC_DEFAULT_MODEL_REF, SYNTHETIC_DEFAULT_MODEL_REF,