mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
24 lines
716 B
JavaScript
Executable File
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(4);
|
|
});
|
|
|
|
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');
|
|
});
|
|
});
|
|
});
|