Jiahan Chen 20e3daaaca test(frontend): migrate unit tests to rstest (#3703)
* test(frontend): migrate unit tests to rstest

* docs: updates AGENTS.md

* test(frontend): fix rstest lint formatting
2026-06-23 22:40:10 +08:00

11 lines
303 B
TypeScript

import { expect, test } from "@rstest/core";
import { DEFAULT_LOCAL_SETTINGS } from "@/core/settings/local";
test("defaults token usage to header total plus per-turn breakdown", () => {
expect(DEFAULT_LOCAL_SETTINGS.tokenUsage).toEqual({
headerTotal: true,
inlineMode: "per_turn",
});
});