Move versions to background

jh-changes
Shin'ya Ueoka 6 years ago
parent b69cc04856
commit 067da88d06
  1. 2
      src/background/index.js
  2. 2
      src/background/shared/versions/index.js
  3. 0
      src/background/shared/versions/release-notes.js
  4. 0
      src/background/shared/versions/storage.js
  5. 4
      test/background/shared/versions/index.test.js
  6. 2
      test/background/shared/versions/storage.test.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,

@ -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';

@ -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', () => {

@ -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', () => {