mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix test name
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
cdfb0deb14
commit
29454a0a11
@ -54,7 +54,7 @@ describe("parseJsonPath", () => {
|
|||||||
expect(res).toBe("$.metadata.labels[0].foo[0]");
|
expect(res).toBe("$.metadata.labels[0].foo[0]");
|
||||||
});
|
});
|
||||||
|
|
||||||
it("converts ending .. to ..*", () => {
|
it("removes trailing ..", () => {
|
||||||
const res = convertKubectlJsonPathToNodeJsonPath(".metadata.labels[]..");
|
const res = convertKubectlJsonPathToNodeJsonPath(".metadata.labels[]..");
|
||||||
|
|
||||||
expect(res).toBe("$.metadata.labels[0]");
|
expect(res).toBe("$.metadata.labels[0]");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user