mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: drop the 2.8 columns, moves and aliases kept for a downgrade
This commit is contained in:
1 parent
d3d8269cb7
commit
61f46d2517
196 files changed
+29909
-10511
No files matched your search
@@ -59,3 +59,18 @@ describe("plugin CLI before the SDK is built", () => {
|
||||
expect(result.stderr).not.toContain("ERR_MODULE_NOT_FOUND");
|
||||
});
|
||||
});
|
||||
|
||||
describe("termix-plugin test", () => {
|
||||
it("applies the plugin's patches before running vitest", () => {
|
||||
const { cli, plugin, run } = fixture();
|
||||
fs.mkdirSync(path.join(plugin, "patches"));
|
||||
fs.writeFileSync(
|
||||
path.join(plugin, "patches", "mark.cjs"),
|
||||
'require("node:fs").writeFileSync("patched.txt", "yes");',
|
||||
);
|
||||
run(cli, "test");
|
||||
expect(fs.readFileSync(path.join(plugin, "patched.txt"), "utf8")).toBe(
|
||||
"yes",
|
||||
);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user