Skip to content

Commit

Permalink
tests: add tests for prefixes api endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ludovicm67 committed Dec 6, 2023
1 parent 2b362f2 commit b9f1eb5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/e2e/integration/api_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,5 +214,13 @@ describe('/api/v1', () => {
})
})
})
describe('prefixes', () => {
it('get a list of prefixes', () => {
cy.request('/api/v1/prefixes').then((response) => {
expect(response.status).to.eq(200)
expect(Object.entries(response.body).length).to.be.greaterThan(0)
})
})
})
})
})

0 comments on commit b9f1eb5

Please sign in to comment.