Building Slack integration
This commit is contained in:
@@ -322,7 +322,6 @@ describe('normalize', () => {
|
||||
expect(() => normalize('github', {})).toThrow(NormalizationError);
|
||||
expect(() => normalize('github', {})).toThrow(/No normalizer registered/);
|
||||
expect(() => normalize('jira', {})).toThrow(/No normalizer registered/);
|
||||
expect(() => normalize('slack', {})).toThrow(/No normalizer registered/);
|
||||
});
|
||||
});
|
||||
|
||||
@@ -330,11 +329,11 @@ describe('hasNormalizer', () => {
|
||||
it('should be true for providers with a normalizer', () => {
|
||||
expect(hasNormalizer('rest')).toBe(true);
|
||||
expect(hasNormalizer('linear')).toBe(true);
|
||||
expect(hasNormalizer('slack')).toBe(true);
|
||||
});
|
||||
|
||||
it('should be false for providers awaiting an integration', () => {
|
||||
expect(hasNormalizer('github')).toBe(false);
|
||||
expect(hasNormalizer('jira')).toBe(false);
|
||||
expect(hasNormalizer('slack')).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user