Module: testUtil/TestCaseFixture
Interfaces
Type aliases
TestCaseCommand
Ƭ TestCaseCommand: CommandLatest
Defined in
testUtil/TestCaseFixture.ts:7
TestCaseFixture
Ƭ TestCaseFixture: Object
Type declaration
Name | Type | Description |
---|---|---|
command | TestCaseCommand | - |
decorations? | PlainTestDecoration [] | Expected decorations in the test case, for example highlighting deletions in red. |
finalState? | TestCaseSnapshot | The final state after a command is issued. Undefined if we are testing a non-match(error) case. |
fullTargets | TargetDescriptor [] | Inferred full targets added for context; not currently used in testing |
ide? | SpyIDERecordedValues | - |
initialState | TestCaseSnapshot | - |
languageId | string | - |
marksToCheck? | string [] | A list of marks to check in the case of navigation map test otherwise undefined |
postCommandSleepTimeMs? | number | - |
postEditorOpenSleepTimeMs? | number | - |
returnValue? | unknown | The return value of the command. Will be undefined when we have recorded an error test case. |
thrownError? | ThrownError | Used to assert if an error has been thrown. |
Defined in
testUtil/TestCaseFixture.ts:19
ThrownError
Ƭ ThrownError: Object
Type declaration
Name | Type |
---|---|
name | string |
Defined in
testUtil/TestCaseFixture.ts:15