fix imports in test

jh-changes
Shin'ya Ueoka 7 years ago
parent c5e9a3d35d
commit 5ef9a2a60c
  1. 4
      test/actions/completion.test.js
  2. 4
      test/actions/console.test.js
  3. 4
      test/actions/follow.test.js
  4. 4
      test/actions/input.test.js
  5. 2
      test/components/follow.test.js
  6. 2
      test/content/hint-key-producer.test.js
  7. 2
      test/content/hint.test.js
  8. 2
      test/content/navigates.test.js
  9. 4
      test/reducers/completion.test.js
  10. 4
      test/reducers/console.test.js
  11. 4
      test/reducers/follow.test.js
  12. 4
      test/reducers/input.test.js
  13. 4
      test/reducers/setting.test.js
  14. 2
      test/shared/validators/setting.test.js
  15. 2
      test/store/index.test.js

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import * as completionActions from '../../src/actions/completion';
import actions from 'actions';
import * as completionActions from 'actions/completion';
describe("completion actions", () => {
describe('setItems', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import * as consoleActions from '../../src/actions/console';
import actions from 'actions';
import * as consoleActions from 'actions/console';
describe("console actions", () => {
describe("showCommand", () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import * as followActions from '../../src/actions/follow';
import actions from 'actions';
import * as followActions from 'actions/follow';
describe('follow actions', () => {
describe('enable', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import * as inputActions from '../../src/actions/input';
import actions from 'actions';
import * as inputActions from 'actions/input';
describe("input actions", () => {
describe("keyPress", () => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import FollowComponent from '../../src/components/follow';
import FollowComponent from 'components/follow';
describe('FollowComponent', () => {
describe('#codeChars', () => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import HintKeyProducer from '../../src/content/hint-key-producer';
import HintKeyProducer from 'content/hint-key-producer';
describe('HintKeyProducer class', () => {
describe('#constructor', () => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import Hint from '../../src/content/hint';
import Hint from 'content/hint';
describe('Hint class', () => {
beforeEach(() => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import * as navigates from '../../src/content/navigates';
import * as navigates from 'content/navigates';
describe('navigates module', () => {
describe('#linkPrev', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import completionReducer from '../../src/reducers/completion';
import actions from 'actions';
import completionReducer from 'reducers/completion';
describe("completion reducer", () => {
it ('return the initial state', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import consoleReducer from '../../src/reducers/console';
import actions from 'actions';
import consoleReducer from 'reducers/console';
describe("console reducer", () => {
it('return the initial state', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import followReducer from '../../src/reducers/follow';
import actions from 'actions';
import followReducer from 'reducers/follow';
describe('follow reducer', () => {
it ('returns the initial state', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import inputReducer from '../../src/reducers/input';
import actions from 'actions';
import inputReducer from 'reducers/input';
describe("input reducer", () => {
it('return the initial state', () => {

@ -1,6 +1,6 @@
import { expect } from "chai";
import actions from '../../src/actions';
import settingReducer from '../../src/reducers/setting';
import actions from 'actions';
import settingReducer from 'reducers/setting';
describe("setting reducer", () => {
it('return the initial state', () => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import { validate } from '../../../src/shared/validators/setting';
import { validate } from 'shared/validators/setting';
describe("setting validator", () => {
describe("unknown top keys", () => {

@ -1,5 +1,5 @@
import { expect } from "chai";
import { createStore } from '../../src/store';
import { createStore } from 'store';
describe("Store class", () => {
const reducer = (state, action) => {