Skip to content

Commit dca8d80

Browse files
authored
Update index.js
1 parent 6c1cd79 commit dca8d80

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1+
if (!localStorage) {
2+
var localStorage = {};
3+
}
4+
15
var should = require("chai").should(),
26
app = require("../react-localstorage");
37

8+
49
describe("check methods get and set", function () {
510
it("boolean", function () {
611
app.reactLocalStorage.set("var", true);

0 commit comments

Comments
 (0)