mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-02-14 00:18:40 +00:00
More tests
This commit is contained in:
parent
953dad708a
commit
1c642390e0
|
|
@ -1,12 +0,0 @@
|
||||||
describe('AccountTest', function ()
|
|
||||||
{
|
|
||||||
"use strict";
|
|
||||||
|
|
||||||
beforeEach(function ()
|
|
||||||
{
|
|
||||||
});
|
|
||||||
|
|
||||||
afterEach(function ()
|
|
||||||
{
|
|
||||||
});
|
|
||||||
});
|
|
||||||
19
tests/Utils/GeneralUtilsTest.js
Normal file
19
tests/Utils/GeneralUtilsTest.js
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
describe('GeneralUtilsTest', function ()
|
||||||
|
{
|
||||||
|
"use strict";
|
||||||
|
|
||||||
|
describe('testIsset', function ()
|
||||||
|
{
|
||||||
|
it('Testing isset functionality', function ()
|
||||||
|
{
|
||||||
|
let value;
|
||||||
|
expect(jsOMS.isset(value)).toBeFalsy();
|
||||||
|
expect(jsOMS.isset(null)).toBeFalsy();
|
||||||
|
|
||||||
|
expect(jsOMS.isset('')).toBeTruthy();
|
||||||
|
|
||||||
|
let value3 = 1;
|
||||||
|
expect(jsOMS.isset(value3)).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
Loading…
Reference in New Issue
Block a user