1
0
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:
Sebastian Malton 2022-04-26 09:25:17 -04:00
parent cdfb0deb14
commit 29454a0a11

View File

@ -54,7 +54,7 @@ describe("parseJsonPath", () => {
expect(res).toBe("$.metadata.labels[0].foo[0]");
});
it("converts ending .. to ..*", () => {
it("removes trailing ..", () => {
const res = convertKubectlJsonPathToNodeJsonPath(".metadata.labels[]..");
expect(res).toBe("$.metadata.labels[0]");