diff --git a/src/background/index.js b/src/background/index.js index 8c4eafc..1e4c078 100644 --- a/src/background/index.js +++ b/src/background/index.js @@ -6,7 +6,7 @@ import IndicatorComponent from 'background/components/indicator'; import reducers from 'background/reducers'; import { createStore, applyMiddleware } from 'redux'; import promise from 'redux-promise'; -import * as versions from 'shared/versions'; +import * as versions from './shared/versions'; const store = createStore( reducers, diff --git a/src/shared/versions/index.js b/src/background/shared/versions/index.js similarity index 95% rename from src/shared/versions/index.js rename to src/background/shared/versions/index.js index ba3d183..aa09c92 100644 --- a/src/shared/versions/index.js +++ b/src/background/shared/versions/index.js @@ -1,6 +1,6 @@ import * as storage from './storage'; import * as releaseNotes from './release-notes'; -import manifest from '../../../manifest.json'; +import manifest from '../../../../manifest.json'; const NOTIFICATION_ID = 'vimvixen-update'; diff --git a/src/shared/versions/release-notes.js b/src/background/shared/versions/release-notes.js similarity index 100% rename from src/shared/versions/release-notes.js rename to src/background/shared/versions/release-notes.js diff --git a/src/shared/versions/storage.js b/src/background/shared/versions/storage.js similarity index 100% rename from src/shared/versions/storage.js rename to src/background/shared/versions/storage.js diff --git a/test/shared/versions/index.test.js b/test/background/shared/versions/index.test.js similarity index 91% rename from test/shared/versions/index.test.js rename to test/background/shared/versions/index.test.js index d90f04c..d65dd9a 100644 --- a/test/shared/versions/index.test.js +++ b/test/background/shared/versions/index.test.js @@ -1,5 +1,5 @@ -import * as versions from 'shared/versions'; -import manifest from '../../../manifest.json'; +import * as versions from 'background/shared/versions'; +import manifest from '../../../../manifest.json'; describe("shared/versions/storage", () => { describe('#checkUpdated', () => { diff --git a/test/shared/versions/storage.test.js b/test/background/shared/versions/storage.test.js similarity index 92% rename from test/shared/versions/storage.test.js rename to test/background/shared/versions/storage.test.js index f541abf..f452516 100644 --- a/test/shared/versions/storage.test.js +++ b/test/background/shared/versions/storage.test.js @@ -1,4 +1,4 @@ -import * as storage from 'shared/versions/storage'; +import * as storage from 'background/shared/versions/storage'; describe("shared/versions/storage", () => { describe('#load', () => {