microsoft / vscode-json-languageservice

JSON language service extracted from VSCode to be reused, e.g in the Monaco editor.
Other
261 stars 110 forks source link

[Bug]: Hierarchical Outline - Array test has invalid JSON instance #240

Closed jeremyfiel closed 1 month ago

jeremyfiel commented 2 months ago

Running npm test doesn't seem to create an error for this test case, before or after updating the json instance.

Either way, the test should contain a valid instance.

https://github.com/microsoft/vscode-json-languageservice/blob/fe686d59243664c413654dd6778878c7e0e0ce69/src/test/documentSymbols.test.ts#L206