mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
spelling: escaped
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
c63c52d8c8
commit
398acb755c
@ -28,7 +28,7 @@ describe("parseJsonPath", () => {
|
||||
expect(res).toBe(".metadata.labels['kubesphere.io/alias-name']");
|
||||
});
|
||||
|
||||
test("should convert keys with escpaped characters to use indexed notation", () => {
|
||||
test("should convert keys with escaped characters to use indexed notation", () => {
|
||||
const res = parseJsonPath(".metadata.labels.kubesphere\\\"io/alias-name");
|
||||
|
||||
expect(res).toBe(".metadata.labels['kubesphere\"io/alias-name']");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user