cleaning and expand public api tests

This commit is contained in:
tiagosiebler
2021-06-24 00:41:21 +01:00
parent ef427f524a
commit bbdf6edad9
6 changed files with 152 additions and 6 deletions

View File

@@ -20,3 +20,7 @@ export function successResponseObject() {
"time_now": expect.any(String),
};
};
export function notAuthenticatedError() {
return new Error('Private endpoints require api and private keys set');
};