jsOMS/tests/Message/Notification/NotificationLevelTest.js
Dennis Eichhorn 7b75ec58f7
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:07 +00:00

24 lines
716 B
JavaScript

import { NotificationLevel } from '../../../Message/Notification/NotificationLevel.js';
describe('NotificationLevelTest', function ()
{
'use strict';
describe('testEnum', function ()
{
it('Testing amount of enums', function ()
{
expect(Object.keys(NotificationLevel).length).toBe(5);
});
it('Testing values of enums', function ()
{
expect(NotificationLevel.OK).toBe('ok');
expect(NotificationLevel.INFO).toBe('info');
expect(NotificationLevel.WARNING).toBe('warning');
expect(NotificationLevel.ERROR).toBe('error');
expect(NotificationLevel.HIDDEN).toBe('hidden');
});
});
});