diff --git a/package.json b/package.json index 1a51010..c383d7d 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "watch": "npm run build -- --watch", "test": "mocha", "tdd": "npm run test -- --watch", - "prepublish": "npm run clean && npm run test && npm run build" + "prepublish": "npm run clean && npm run build && npm run test" }, "repository": { "type": "git", diff --git a/test/createSession.js b/test/createSession.js index 89246e0..5be3424 100644 --- a/test/createSession.js +++ b/test/createSession.js @@ -1,6 +1,6 @@ const chai = require('chai'); const { expect } = chai; -const { createSession } = require('../dist/index'); +const { createSession } = require('../'); const { mockAdapter, mockStore } = require('./utils'); const { spy, stub } = require('sinon'); diff --git a/test/localStorage.js b/test/localStorage.js index a75da80..d2cb0f6 100644 --- a/test/localStorage.js +++ b/test/localStorage.js @@ -1,7 +1,7 @@ global.window = {}; const { expect } = require('chai'); -const { adapters } = require('../dist/index'); +const { adapters } = require('../'); const { mockLocalStorage } = require('./utils'); const adapter = adapters.localStorage;