1
0
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:
Christopher Kolstad 2024-07-05 15:17:45 +02:00
parent 9fae7801ed
commit d8bb9f18de
No known key found for this signature in database
GPG Key ID: D9041DC670F032F3

View File

@ -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');
});
});