mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 14:15:24 +00:00
feat: dev:all runner for web, electron and docker with plugin hot reload, termix-plugin dev
This commit is contained in:
1 parent
49fc241e06
commit
ec80a8ef8d
24 files changed
+1848
-44
No files matched your search
@@ -280,4 +280,13 @@ describe("rebuilding local plugins", () => {
|
||||
expect(run).toEqual(["a"]);
|
||||
expect(rebuildLocalPlugins(null, new Set(["a"]), () => {})).toEqual([]);
|
||||
});
|
||||
|
||||
it("builds every stale repo when no ids are given", () => {
|
||||
const dir = tempDir();
|
||||
repo(dir, "Plugin-A", "a");
|
||||
repo(dir, "Plugin-B", "b");
|
||||
const run: string[] = [];
|
||||
rebuildLocalPlugins(dir, null, (_repo: string, id: string) => run.push(id));
|
||||
expect(run.sort()).toEqual(["a", "b"]);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user