mirror of
https://github.com/gethomepage/homepage.git
synced 2025-05-31 04:04:15 -04:00
Remove error mocking
This commit is contained in:
parent
fa8ebc56ef
commit
1c6820428d
@ -4,10 +4,6 @@ export function __setEndpointMockData(endpoint, response) {
|
|||||||
mockResponses[endpoint] = response;
|
mockResponses[endpoint] = response;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function __setEndpointMockError(endpoint, error) {
|
|
||||||
mockResponses[endpoint] = error;
|
|
||||||
}
|
|
||||||
|
|
||||||
export function __clearMocks() {
|
export function __clearMocks() {
|
||||||
mockResponses = {};
|
mockResponses = {};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user