cleaned public inverse futures endpoints & expanded tests

This commit is contained in:
tiagosiebler
2022-05-05 21:46:58 +01:00
parent 603a07ec85
commit 784555cf9f
5 changed files with 123 additions and 83 deletions

View File

@@ -80,6 +80,10 @@ describe('Public Inverse REST API Endpoints', () => {
expect(await api.getServerTime()).toMatchObject(successResponseObject());
});
it('fetchServertime() returns number', async () => {
expect(await api.fetchServerTime()).toStrictEqual(expect.any(Number));
});
it('getApiAnnouncements()', async () => {
expect(await api.getApiAnnouncements()).toMatchObject(
successResponseList()