Document content before formatting.
Optional
disposeWhether to dispose the created documents right after performing the check.
Defaults to false
.
Optional
optionsOptions used by the formatter. Default:
{
insertSpaces: true,
tabSize: 4
}
Optional
parseParse options used to parse the text property.
Optional
rangeIf given, only the specified range will be affected by the formatter
Expected document content after formatting. The test case will compare this to the actual formatted document.