feat: release 2.5.1
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, test } from "bun:test";
|
||||
import { join } from "node:path";
|
||||
|
||||
describe("CLI module graph", () => {
|
||||
test("does not resolve the Kubernetes client during CLI startup", () => {
|
||||
const entry = join(import.meta.dir, "../../index.ts");
|
||||
const probe = Bun.spawnSync([process.execPath, entry, "--help"], {
|
||||
cwd: import.meta.dir,
|
||||
env: process.env,
|
||||
});
|
||||
expect(probe.exitCode).toBe(0);
|
||||
expect(new TextDecoder().decode(probe.stdout)).toContain("USAGE");
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user