@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 23 lines 598 Bytes
Raw
1 import { describe, expect, it } from "vite-plus/test";
2
3 import {
4 createMobileThemeRuntimeOperations,
5 type MobileThemeRuntimeState,
6 } from "./mobileThemeRuntime";
7
8 const initialState: MobileThemeRuntimeState = {
9 baseFontSize: 16,
10 themeAppearance: "light",
11 themeMode: "system",
12 };
13
14 describe("mobileThemeRuntime", () => {
15 it("lets system appearance changes flow through the root ScopedTheme only", () => {
16 const operations = createMobileThemeRuntimeOperations(initialState, {
17 ...initialState,
18 themeAppearance: "dark",
19 });
20
21 expect(operations).toEqual([]);
22 });
23 });