mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-04 19:45:34 +08:00
feat(pi): add first-class Coding Agent support
This commit is contained in:
@@ -112,4 +112,21 @@ describe("ImportExportSection Component", () => {
|
||||
expect(screen.getByText("settings.importFailed")).toBeInTheDocument();
|
||||
expect(screen.getByText("Parse failed")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("shows the Pi portability boundary and the concrete partial-sync failure", () => {
|
||||
render(
|
||||
<ImportExportSection
|
||||
{...baseProps}
|
||||
status="partial-success"
|
||||
errorMessage="unclaimed native key 'occupied' already exists"
|
||||
/>,
|
||||
);
|
||||
|
||||
expect(
|
||||
screen.getByText("settings.piImportExportBoundary"),
|
||||
).toBeInTheDocument();
|
||||
expect(
|
||||
screen.getByText("unclaimed native key 'occupied' already exists"),
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user