mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
fix: hide jira addon for now
This commit is contained in:
parent
47b7e1d87c
commit
31f674d9fc
@ -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;
|
||||
|
@ -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');
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user