aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-05 20:12:08 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-05 20:12:08 +0900
commit5ef9a2a60c99f24fe3df7035ae4dca574fc38c68 (patch)
treea8bc61e4de8224ecdecd373cd1a92871fb439504 /test
parentc5e9a3d35db6fb0308a3771f5d1b3083dbf2943c (diff)
fix imports in test
Diffstat (limited to 'test')
-rw-r--r--test/actions/completion.test.js4
-rw-r--r--test/actions/console.test.js4
-rw-r--r--test/actions/follow.test.js4
-rw-r--r--test/actions/input.test.js4
-rw-r--r--test/components/follow.test.js2
-rw-r--r--test/content/hint-key-producer.test.js2
-rw-r--r--test/content/hint.test.js2
-rw-r--r--test/content/navigates.test.js2
-rw-r--r--test/reducers/completion.test.js4
-rw-r--r--test/reducers/console.test.js4
-rw-r--r--test/reducers/follow.test.js4
-rw-r--r--test/reducers/input.test.js4
-rw-r--r--test/reducers/setting.test.js4
-rw-r--r--test/shared/validators/setting.test.js2
-rw-r--r--test/store/index.test.js2
15 files changed, 24 insertions, 24 deletions
diff --git a/test/actions/completion.test.js b/test/actions/completion.test.js
index da88f53..92de383 100644
--- a/test/actions/completion.test.js
+++ b/test/actions/completion.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', () => {
diff --git a/test/actions/console.test.js b/test/actions/console.test.js
index 512ee40..2dbcf55 100644
--- a/test/actions/console.test.js
+++ b/test/actions/console.test.js
@@ -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", () => {
diff --git a/test/actions/follow.test.js b/test/actions/follow.test.js
index 9439de7..32ab9e2 100644
--- a/test/actions/follow.test.js
+++ b/test/actions/follow.test.js
@@ -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', () => {
diff --git a/test/actions/input.test.js b/test/actions/input.test.js
index 904d3e7..0a2ab18 100644
--- a/test/actions/input.test.js
+++ b/test/actions/input.test.js
@@ -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", () => {
diff --git a/test/components/follow.test.js b/test/components/follow.test.js
index f2f870e..c83e211 100644
--- a/test/components/follow.test.js
+++ b/test/components/follow.test.js
@@ -1,5 +1,5 @@
import { expect } from "chai";
-import FollowComponent from '../../src/components/follow';
+import FollowComponent from 'components/follow';
describe('FollowComponent', () => {
describe('#codeChars', () => {
diff --git a/test/content/hint-key-producer.test.js b/test/content/hint-key-producer.test.js
index 74fb462..b2171ba 100644
--- a/test/content/hint-key-producer.test.js
+++ b/test/content/hint-key-producer.test.js
@@ -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', () => {
diff --git a/test/content/hint.test.js b/test/content/hint.test.js
index 9b2ab6e..1547971 100644
--- a/test/content/hint.test.js
+++ b/test/content/hint.test.js
@@ -1,5 +1,5 @@
import { expect } from "chai";
-import Hint from '../../src/content/hint';
+import Hint from 'content/hint';
describe('Hint class', () => {
beforeEach(() => {
diff --git a/test/content/navigates.test.js b/test/content/navigates.test.js
index cf20435..b5144e9 100644
--- a/test/content/navigates.test.js
+++ b/test/content/navigates.test.js
@@ -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', () => {
diff --git a/test/reducers/completion.test.js b/test/reducers/completion.test.js
index 79163bf..b2b36d9 100644
--- a/test/reducers/completion.test.js
+++ b/test/reducers/completion.test.js
@@ -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', () => {
diff --git a/test/reducers/console.test.js b/test/reducers/console.test.js
index 9820a08..d9f500f 100644
--- a/test/reducers/console.test.js
+++ b/test/reducers/console.test.js
@@ -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', () => {
diff --git a/test/reducers/follow.test.js b/test/reducers/follow.test.js
index 19a1300..79e75d4 100644
--- a/test/reducers/follow.test.js
+++ b/test/reducers/follow.test.js
@@ -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', () => {
diff --git a/test/reducers/input.test.js b/test/reducers/input.test.js
index 3c3bf39..7b5a89c 100644
--- a/test/reducers/input.test.js
+++ b/test/reducers/input.test.js
@@ -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', () => {
diff --git a/test/reducers/setting.test.js b/test/reducers/setting.test.js
index 7261be6..1af031a 100644
--- a/test/reducers/setting.test.js
+++ b/test/reducers/setting.test.js
@@ -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', () => {
diff --git a/test/shared/validators/setting.test.js b/test/shared/validators/setting.test.js
index 9baf858..15d6a10 100644
--- a/test/shared/validators/setting.test.js
+++ b/test/shared/validators/setting.test.js
@@ -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", () => {
diff --git a/test/store/index.test.js b/test/store/index.test.js
index e19d50e..5dce715 100644
--- a/test/store/index.test.js
+++ b/test/store/index.test.js
@@ -1,5 +1,5 @@
import { expect } from "chai";
-import { createStore } from '../../src/store';
+import { createStore } from 'store';
describe("Store class", () => {
const reducer = (state, action) => {