Module: testUtil/TestCaseFixture
Type aliases
TestCaseCommand
Ƭ TestCaseCommand: CommandLatest
Defined in
TestCaseFixture
Ƭ TestCaseFixture: Object
Type declaration
| Name | Type | Description | 
|---|---|---|
| command | TestCaseCommand | - | 
| 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? | PlainSpyIDERecordedValues | - | 
| 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:12
ThrownError
Ƭ ThrownError: Object
Type declaration
| Name | Type | 
|---|---|
| name | string |