mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
21 lines
473 B
JavaScript
21 lines
473 B
JavaScript
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);
|
|
});
|
|
});
|
|
});
|