mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: move desktop, status, import, audit and branding features into plugins
This commit is contained in:
1 parent
9d93fb0893
commit
1cdbfc674c
166 files changed
+21298
-12041
No files matched your search
@@ -39,12 +39,24 @@ describe("Electron security boundary", () => {
|
||||
}
|
||||
});
|
||||
|
||||
it("launches only the editor saved from a file dialog", () => {
|
||||
expect(main).not.toContain("fileData?.editorPath");
|
||||
expect(main).toContain("readSetting(EXTERNAL_EDITOR_SETTING)");
|
||||
it("saves an external editor only if it was chosen in a file dialog", () => {
|
||||
expect(main).toContain("dialogChosenPaths.has(value)");
|
||||
});
|
||||
|
||||
it("keeps local files, the local terminal and the external editor out of Electron", () => {
|
||||
for (const channel of [
|
||||
"open-external-editor",
|
||||
"close-external-editor",
|
||||
"local-terminal-start",
|
||||
"local-fs:",
|
||||
"local-transfer:",
|
||||
"list-local-directory",
|
||||
]) {
|
||||
expect(main).not.toContain(channel);
|
||||
expect(preload).not.toContain(channel);
|
||||
}
|
||||
});
|
||||
|
||||
it("scopes proxy headers and basic auth to the linked origin", () => {
|
||||
expect(main).toContain('"sync-proxy-config"');
|
||||
expect(main).toContain("linkedServer.applyLinkHeaders(");
|
||||
|
||||
Reference in new issue
Block a user