jsOMS/tests/DataStorage/LocalStorageTest.js
Dennis Eichhorn c7a9ddb926 fix tests
2024-04-24 16:23:32 +00:00

19 lines
474 B
JavaScript
Executable File

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();
}
});
});
});