diff --git a/src/__tests__/json-completion.spec.ts b/src/__tests__/json-completion.spec.ts index 5c83039..4c0a13b 100644 --- a/src/__tests__/json-completion.spec.ts +++ b/src/__tests__/json-completion.spec.ts @@ -32,4 +32,16 @@ describe("jsonCompletion", () => { }, ]); }); + // TODO: fix this failing case + it("should include insert text for nested object properties", async () => { + await expectCompletion(`{ "object": { '| } }`, [ + { + detail: "string", + info: "an elegant string", + label: "foo", + template: '"foo": "#{}"', + type: "property", + }, + ]); + }); });