fix imports in test
This commit is contained in:
parent
c5e9a3d35d
commit
5ef9a2a60c
15 changed files with 24 additions and 24 deletions
|
@ -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) => {
|
||||
|
|
Reference in a new issue