parent
d886d7de29
commit
39fb540037
17 changed files with 24 additions and 24 deletions
@ -1,4 +1,4 @@ |
|||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
|
|
||||||
const enable = (newTab) => { |
const enable = (newTab) => { |
||||||
return { |
return { |
@ -1,4 +1,4 @@ |
|||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
|
|
||||||
const asKeymapChars = (key, ctrl) => { |
const asKeymapChars = (key, ctrl) => { |
||||||
if (ctrl) { |
if (ctrl) { |
@ -1,4 +1,4 @@ |
|||||||
import * as followActions from 'actions/follow'; |
import * as followActions from 'content/actions/follow'; |
||||||
import messages from 'shared/messages'; |
import messages from 'shared/messages'; |
||||||
import Hint from 'content/hint'; |
import Hint from 'content/hint'; |
||||||
import HintKeyProducer from 'content/hint-key-producer'; |
import HintKeyProducer from 'content/hint-key-producer'; |
@ -1,5 +1,5 @@ |
|||||||
import * as inputActions from 'actions/input'; |
import * as inputActions from 'content/actions/input'; |
||||||
import * as operationActions from 'actions/operation'; |
import * as operationActions from 'content/actions/operation'; |
||||||
|
|
||||||
export default class KeymapperComponent { |
export default class KeymapperComponent { |
||||||
constructor(store) { |
constructor(store) { |
@ -1,4 +1,4 @@ |
|||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
|
|
||||||
const defaultState = { |
const defaultState = { |
||||||
enabled: false, |
enabled: false, |
@ -1,6 +1,6 @@ |
|||||||
import inputReducer from 'reducers/input'; |
|
||||||
import settingReducer from 'settings/reducers/setting'; |
import settingReducer from 'settings/reducers/setting'; |
||||||
import followReducer from 'reducers/follow'; |
import inputReducer from './input'; |
||||||
|
import followReducer from './follow'; |
||||||
|
|
||||||
// Make setting reducer instead of re-use
|
// Make setting reducer instead of re-use
|
||||||
const defaultState = { |
const defaultState = { |
@ -1,4 +1,4 @@ |
|||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
|
|
||||||
const defaultState = { |
const defaultState = { |
||||||
keys: '', |
keys: '', |
@ -1,6 +1,6 @@ |
|||||||
import { expect } from "chai"; |
import { expect } from "chai"; |
||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
import * as followActions from 'actions/follow'; |
import * as followActions from 'content/actions/follow'; |
||||||
|
|
||||||
describe('follow actions', () => { |
describe('follow actions', () => { |
||||||
describe('enable', () => { |
describe('enable', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { expect } from "chai"; |
import { expect } from "chai"; |
||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
import * as inputActions from 'actions/input'; |
import * as inputActions from 'content/actions/input'; |
||||||
|
|
||||||
describe("input actions", () => { |
describe("input actions", () => { |
||||||
describe("keyPress", () => { |
describe("keyPress", () => { |
@ -1,10 +1,10 @@ |
|||||||
import { expect } from "chai"; |
import { expect } from "chai"; |
||||||
import FollowComponent from 'components/follow'; |
import FollowComponent from 'content/components/follow'; |
||||||
|
|
||||||
describe('FollowComponent', () => { |
describe('FollowComponent', () => { |
||||||
describe('#getTargetElements', () => { |
describe('#getTargetElements', () => { |
||||||
beforeEach(() => { |
beforeEach(() => { |
||||||
document.body.innerHTML = __html__['test/components/follow.html']; |
document.body.innerHTML = __html__['test/content/components/follow.html']; |
||||||
}); |
}); |
||||||
|
|
||||||
it('returns visible links', () => { |
it('returns visible links', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { expect } from "chai"; |
import { expect } from "chai"; |
||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
import followReducer from 'reducers/follow'; |
import followReducer from 'content/reducers/follow'; |
||||||
|
|
||||||
describe('follow reducer', () => { |
describe('follow reducer', () => { |
||||||
it ('returns the initial state', () => { |
it ('returns the initial state', () => { |
@ -1,6 +1,6 @@ |
|||||||
import { expect } from "chai"; |
import { expect } from "chai"; |
||||||
import actions from 'actions'; |
import actions from 'content/actions'; |
||||||
import inputReducer from 'reducers/input'; |
import inputReducer from 'content/reducers/input'; |
||||||
|
|
||||||
describe("input reducer", () => { |
describe("input reducer", () => { |
||||||
it('return the initial state', () => { |
it('return the initial state', () => { |
Reference in new issue