mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
fix: update addon counter to include new relic addon
This commit is contained in:
parent
9fae7801ed
commit
d8bb9f18de
@ -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');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user