Amol Umbark 2bf534b56f
feat: add ms teams channels (#2689)
* feat: api machinery to support enterprise plan channels

* feat: backend for handling ms teams

* feat: frontend for ms teams

* fix: fixed some minor issues wiht ms teams

* fix: resolved issue with feature gate

* chore: add missing span metrics

* chore: some minor changes are updated

* feat: added the oss flag is updated

---------

Co-authored-by: Vishal Sharma <makeavish786@gmail.com>
Co-authored-by: Srikanth Chekuri <srikanth.chekuri92@gmail.com>
Co-authored-by: Palash Gupta <palashgdev@gmail.com>
2023-08-15 21:19:05 +05:30

14 lines
380 B
TypeScript

import { FeatureKeys } from 'constants/features';
import { isFeatureKeys } from './utils';
describe('Feature Keys', () => {
it('should return true for a valid feature key', () => {
expect(isFeatureKeys(FeatureKeys.ALERT_CHANNEL_MSTEAMS)).toBe(true);
});
it('should return false for an invalid feature key', () => {
expect(isFeatureKeys('invalid')).toBe(false);
});
});