1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

windows test fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2022-02-24 07:09:57 +02:00
parent 35ed7e6744
commit d54da4f5ad

View File

@ -195,7 +195,7 @@ describe("kube auth proxy tests", () => {
return mockedCP.stdout;
});
mockSpawn.mockImplementationOnce((command: string): ChildProcess => {
expect(path.basename(command)).toBe("lens-k8s-proxy");
expect(path.basename(command).split(".")[0]).toBe("lens-k8s-proxy");
return mockedCP;
});