1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00

fix: hide jira addon for now

This commit is contained in:
Ivar Conradi Østhus 2021-02-05 15:12:15 +01:00
parent 47b7e1d87c
commit 31f674d9fc
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
const webhook = require('./webhook');
const slackAddon = require('./slack');
const jiraAddon = require('./jira-comment');
module.exports = [webhook, slackAddon, jiraAddon];
const addons = [webhook, slackAddon];
module.exports = addons;

View File

@ -28,7 +28,7 @@ test.serial('gets all addons', async t => {
.expect(200)
.expect(res => {
t.is(res.body.addons.length, 0, 'expected 0 configured addons');
t.is(res.body.providers.length, 3, 'expected 3 addon providers');
t.is(res.body.providers.length, 2, 'expected 2 addon providers');
t.is(res.body.providers[0].name, 'webhook');
});
});