mirror of
https://github.com/openclaw/openclaw.git
synced 2026-06-04 10:34:05 +00:00
refactor: move terminal core into package (#88279)
* refactor: move terminal core into package * refactor: move terminal module files * fix: clean terminal package CI followups * test: update lint suppression allowlist * fix: ship terminal core runtime aliases
This commit is contained in:
committed by
GitHub
parent
7b699fddac
commit
de1dfab03e
@@ -378,7 +378,7 @@ describe("proxy cli runtime", () => {
|
||||
|
||||
it("applies the terminal color theme when rich output is enabled", async () => {
|
||||
vi.resetModules();
|
||||
vi.doMock("../terminal/theme.js", () => ({
|
||||
vi.doMock("../../packages/terminal-core/src/theme.js", () => ({
|
||||
colorize: (rich: boolean, color: (value: string) => string, value: string) =>
|
||||
rich ? color(value) : value,
|
||||
isRich: () => true,
|
||||
@@ -400,7 +400,7 @@ describe("proxy cli runtime", () => {
|
||||
expect(output).toContain("<heading>Checks</heading>");
|
||||
expect(output).toContain("<success>✓</success>");
|
||||
} finally {
|
||||
vi.doUnmock("../terminal/theme.js");
|
||||
vi.doUnmock("../../packages/terminal-core/src/theme.js");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user