Remove flask ASCII art and update harness internals
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
18
tests/pi-settings.test.ts
Normal file
18
tests/pi-settings.test.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import assert from "node:assert/strict";
|
||||
import test from "node:test";
|
||||
|
||||
import { normalizeThinkingLevel } from "../src/pi/settings.js";
|
||||
|
||||
test("normalizeThinkingLevel accepts the latest Pi thinking levels", () => {
|
||||
assert.equal(normalizeThinkingLevel("off"), "off");
|
||||
assert.equal(normalizeThinkingLevel("minimal"), "minimal");
|
||||
assert.equal(normalizeThinkingLevel("low"), "low");
|
||||
assert.equal(normalizeThinkingLevel("medium"), "medium");
|
||||
assert.equal(normalizeThinkingLevel("high"), "high");
|
||||
assert.equal(normalizeThinkingLevel("xhigh"), "xhigh");
|
||||
});
|
||||
|
||||
test("normalizeThinkingLevel rejects unknown values", () => {
|
||||
assert.equal(normalizeThinkingLevel("turbo"), undefined);
|
||||
assert.equal(normalizeThinkingLevel(undefined), undefined);
|
||||
});
|
||||
Reference in New Issue
Block a user