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:
parent
35ed7e6744
commit
d54da4f5ad
@ -195,7 +195,7 @@ describe("kube auth proxy tests", () => {
|
|||||||
return mockedCP.stdout;
|
return mockedCP.stdout;
|
||||||
});
|
});
|
||||||
mockSpawn.mockImplementationOnce((command: string): ChildProcess => {
|
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;
|
return mockedCP;
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user