Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
test: basic get report request list
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jun 10, 2020
1 parent 84369f6 commit 3ec82a1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions test/integration/reports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,13 @@ const httpClient = new HttpClient({
/* eslint-disable jest/no-standalone-expect */
describe('reports', () => {
const reports = new Reports(httpClient)
itci('should be able to query service status', async () => {
itci('should be able to query get report request list', async () => {
expect.assertions(1)

const [response] = await reports.getServiceStatus()
// getReportRequestList with all defaults
const [response] = await reports.getReportRequestList({})

expect(response.Status).toMatch(/GREEN|YELLOW|RED/)
expect(response).toBeDefined()
})
})
/* eslint-enable jest/no-standalone-expect */

0 comments on commit 3ec82a1

Please sign in to comment.