mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 17:58:41 +00:00
21 lines
476 B
JavaScript
Executable File
21 lines
476 B
JavaScript
Executable File
import { AccountType } from '../../Account/AccountType.js';
|
|
|
|
describe('AccountTypeTest', function ()
|
|
{
|
|
'use strict';
|
|
|
|
describe('testEnum', function ()
|
|
{
|
|
it('Testing amount of enums', function ()
|
|
{
|
|
expect(Object.keys(AccountType).length).toBe(2);
|
|
});
|
|
|
|
it('Testing values of enums', function ()
|
|
{
|
|
expect(AccountType.USER).toBe(0);
|
|
expect(AccountType.GROUP).toBe(1);
|
|
});
|
|
});
|
|
});
|