mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-18 07:56:56 +00:00
* 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>
14 lines
380 B
TypeScript
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);
|
|
});
|
|
});
|