Skip to content

Commit

Permalink
Inline calls to new LocalStorage()
Browse files Browse the repository at this point in the history
  • Loading branch information
mcshiz authored and Bryan Clark committed Jan 16, 2018
1 parent 1a31125 commit b115b27
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/setup.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
import { LocalStorage } from './localstorage';

const local = new LocalStorage();
const session = new LocalStorage();

global.localStorage = local;
global.sessionStorage = session;


global.localStorage = new LocalStorage(jest);
global.sessionStorage = new LocalStorage(jest);

0 comments on commit b115b27

Please sign in to comment.