mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-30 15:15:24 +00:00
chore: lock the plugin boundary and remove 2.9.0 leftovers
This commit is contained in:
1 parent
6489b62ece
commit
2961297989
399 files changed
+3964
-5627
No files matched your search
@@ -97,4 +97,19 @@ describe("createQuickConnectHost for remote desktop protocols", () => {
|
||||
"demo-desktopPassword": "pw",
|
||||
});
|
||||
});
|
||||
|
||||
it("carries the fields a plugin's SSH auth editor filled in", () => {
|
||||
const host = createQuickConnectHost({
|
||||
ip: "100.64.0.9",
|
||||
port: 22,
|
||||
username: "root",
|
||||
authType: "tailnet-login",
|
||||
authFields: { pluginSettings: { demo: { profileId: 3 } } },
|
||||
});
|
||||
expect(host.authType).toBe("tailnet-login");
|
||||
expect(host.password).toBeUndefined();
|
||||
expect(host).toMatchObject({
|
||||
pluginSettings: { demo: { profileId: 3 } },
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user