Skip to content

Commit

Permalink
fix: update addon counter to include new relic addon
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswk committed Jul 5, 2024
1 parent 9fae780 commit d8bb9f1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/test/e2e/api/admin/addon.e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ afterAll(async () => {
});

test('gets all addons', async () => {
expect.assertions(3);

return app.request
await app.request
.get('/api/admin/addons')
.expect('Content-Type', /json/)
.expect(200)
.expect((res) => {
expect(res.body.addons.length).toBe(0);
expect(res.body.providers.length).toBe(5);
expect(res.body.providers.length).toBe(6);
expect(res.body.providers[0].name).toBe('webhook');
});
});
Expand Down

0 comments on commit d8bb9f1

Please sign in to comment.