mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-31 23:55:23 +00:00
feat: port the demo redesign with Manage and Settings tabs
This commit is contained in:
1 parent
f8151cb885
commit
35c954b79a
128 files changed
+13262
-8143
No files matched your search
@@ -297,7 +297,7 @@ describe("HostPluginSections", () => {
|
||||
/>,
|
||||
);
|
||||
|
||||
fireEvent.click(screen.getAllByRole("button")[0]);
|
||||
fireEvent.click(screen.getAllByRole("switch")[0]);
|
||||
|
||||
expect(setValue).toHaveBeenCalledWith("docker", "enableDocker", true);
|
||||
});
|
||||
@@ -373,7 +373,7 @@ describe("HostFeatureFields", () => {
|
||||
expect(screen.getAllByText("Docker")).toHaveLength(1);
|
||||
expect(screen.queryByText("Warpgate")).toBeNull();
|
||||
|
||||
fireEvent.click(screen.getAllByRole("button")[0]);
|
||||
fireEvent.click(screen.getAllByRole("switch")[0]);
|
||||
const patch = updateForm.mock.calls[0][0];
|
||||
expect(patch(form).pluginSettings).toEqual({
|
||||
docker: { enableDocker: true },
|
||||
|
||||
Reference in new issue
Block a user