Skip to main content
Pair with the saveAs key set on the corresponding mock step. Omit key to remove every route mock currently installed.

Parameters

ParameterTypeRequiredDescription
keystringNoKey set on the corresponding mock step. Omit to remove all mocks.
saveAsstringNoName of the variable to write this step’s return value to.
retriesnumberNoNumber of times to retry the step on failure before failing the test.
skippedbooleanNoSkip this step at execution time.

Shorthand

Key as a single string.
- removeRouteMock: TODOS_MOCK

Examples

- removeRouteMock:
    key: TODOS_MOCK
Remove every installed route mock at once:
- removeRouteMock: {}