jsOMS/tests/Message/Notification/NotificationLevelTest.js
Dennis Eichhorn c7a9ddb926 fix tests
2024-04-24 16:23:32 +00:00

24 lines
716 B
JavaScript
Executable File

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');
});
});
});