mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
19 lines
474 B
JavaScript
19 lines
474 B
JavaScript
import { LocalStorage } from '../../DataStorage/LocalStorage.js';
|
|
|
|
describe('LocalStorageTest', function ()
|
|
{
|
|
'use strict';
|
|
|
|
describe('testDefault', function ()
|
|
{
|
|
it('Testing default functionality', function ()
|
|
{
|
|
if (typeof window === 'undefined') {
|
|
expect(LocalStorage.available()).toBeFalse();
|
|
} else {
|
|
expect(LocalStorage.available()).toBeTruthy();
|
|
}
|
|
});
|
|
});
|
|
});
|