mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 01:48:40 +00:00
18 lines
496 B
JavaScript
Executable File
18 lines
496 B
JavaScript
Executable File
import { NotificationMessage } from '../../../Message/Notification/NotificationMessage.js';
|
|
|
|
describe('NotificationMessageTest', function ()
|
|
{
|
|
'use strict';
|
|
|
|
describe('testDefault', function ()
|
|
{
|
|
it('Testing default functionality', function ()
|
|
{
|
|
let msg = new NotificationMessage('ok', 'abc', 'def');
|
|
|
|
expect(msg.status).toBe('ok');
|
|
expect(msg.title).toBe('abc');
|
|
expect(msg.message).toBe('def');
|
|
});
|
|
});
|
|
}); |