Interface ExpectedCompletionItems

interface ExpectedCompletionItems {
    disposeAfterCheck?: boolean;
    expectedItems: (string | CompletionItem)[];
    index: number;
    indexMarker?: string;
    itemToString?: ((item: CompletionItem) => string);
    parseOptions?: ParseHelperOptions;
    rangeEndMarker?: string;
    rangeStartMarker?: string;
    text: string;
}

Hierarchy (view full)

Properties

disposeAfterCheck?: boolean

Whether to dispose the created documents right after performing the check.

Defaults to false.

expectedItems: (string | CompletionItem)[]
index: number
indexMarker?: string

String to mark indices for test cases. <|> by default.

itemToString?: ((item: CompletionItem) => string)
parseOptions?: ParseHelperOptions

Parse options used to parse the text property.

rangeEndMarker?: string

String to mark end indices for test cases. |> by default.

rangeStartMarker?: string

String to mark start indices for test cases. <| by default.

text: string

Document content. Use <|> and <|...|> to mark special items that are relevant to the test case.