jsOMS/tests/Account/AccountTypeTest.js
Dennis Eichhorn 7b75ec58f7
Some checks failed
CodeQL / Analyze (javascript) (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled
fix permissions
2025-04-02 14:15:07 +00:00

21 lines
476 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);
});
});
});