You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flagon.apache.org by rf...@apache.org on 2019/09/26 00:11:45 UTC

[incubator-flagon-useralejs] 02/03: Removed storage in favor of having testUtils handle it.

This is an automated email from the ASF dual-hosted git repository.

rf pushed a commit to branch FLAGON-434
in repository https://gitbox.apache.org/repos/asf/incubator-flagon-useralejs.git

commit 0c844d00a307a8752db45f5dde71c665ffbb8aea
Author: Rob Foley <ro...@gmail.com>
AuthorDate: Wed Sep 25 19:55:30 2019 -0400

    Removed storage in favor of having testUtils handle it.
---
 test/getInitialSettings_spec.js | 2 --
 1 file changed, 2 deletions(-)

diff --git a/test/getInitialSettings_spec.js b/test/getInitialSettings_spec.js
index 3f8d834..618a1a9 100644
--- a/test/getInitialSettings_spec.js
+++ b/test/getInitialSettings_spec.js
@@ -17,7 +17,6 @@
 import { expect } from 'chai';
 import jsdom from 'jsdom';
 import 'jsdom-global/register';
-import { Storage } from 'dom-storage';
 import fs from 'fs';
 
 import { createEnv } from './testUtils';
@@ -71,7 +70,6 @@ describe('getInitialSettings', () => {
       const html = fs.readFileSync(__dirname + '/getInitialSettings_fetchAll.html');
 
       createEnv(html, (err, window) => {
-        window.sessionStorage = new Storage(null, { strict: true });
         const config = window.userale.options();
         expect(config).to.have.property('autostart', true);
         expect(config).to.have.property('url', 'http://test.com');