windows test fix

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2022-02-24 07:09:57 +02:00
1 parent 35ed7e6744
commit d54da4f5ad
1 file changed
+1 -1
+1 -1
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;
});