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 { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import * as completionActions from '../../src/actions/completion';
|
import * as completionActions from 'actions/completion';
|
||||||
|
|
||||||
describe("completion actions", () => {
|
describe("completion actions", () => {
|
||||||
describe('setItems', () => {
|
describe('setItems', () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import * as consoleActions from '../../src/actions/console';
|
import * as consoleActions from 'actions/console';
|
||||||
|
|
||||||
describe("console actions", () => {
|
describe("console actions", () => {
|
||||||
describe("showCommand", () => {
|
describe("showCommand", () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import * as followActions from '../../src/actions/follow';
|
import * as followActions from '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 '../../src/actions';
|
import actions from 'actions';
|
||||||
import * as inputActions from '../../src/actions/input';
|
import * as inputActions from 'actions/input';
|
||||||
|
|
||||||
describe("input actions", () => {
|
describe("input actions", () => {
|
||||||
describe("keyPress", () => {
|
describe("keyPress", () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import FollowComponent from '../../src/components/follow';
|
import FollowComponent from 'components/follow';
|
||||||
|
|
||||||
describe('FollowComponent', () => {
|
describe('FollowComponent', () => {
|
||||||
describe('#codeChars', () => {
|
describe('#codeChars', () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import HintKeyProducer from '../../src/content/hint-key-producer';
|
import HintKeyProducer from 'content/hint-key-producer';
|
||||||
|
|
||||||
describe('HintKeyProducer class', () => {
|
describe('HintKeyProducer class', () => {
|
||||||
describe('#constructor', () => {
|
describe('#constructor', () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import Hint from '../../src/content/hint';
|
import Hint from 'content/hint';
|
||||||
|
|
||||||
describe('Hint class', () => {
|
describe('Hint class', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import * as navigates from '../../src/content/navigates';
|
import * as navigates from 'content/navigates';
|
||||||
|
|
||||||
describe('navigates module', () => {
|
describe('navigates module', () => {
|
||||||
describe('#linkPrev', () => {
|
describe('#linkPrev', () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import completionReducer from '../../src/reducers/completion';
|
import completionReducer from 'reducers/completion';
|
||||||
|
|
||||||
describe("completion reducer", () => {
|
describe("completion reducer", () => {
|
||||||
it ('return the initial state', () => {
|
it ('return the initial state', () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import consoleReducer from '../../src/reducers/console';
|
import consoleReducer from 'reducers/console';
|
||||||
|
|
||||||
describe("console reducer", () => {
|
describe("console reducer", () => {
|
||||||
it('return the initial state', () => {
|
it('return the initial state', () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import followReducer from '../../src/reducers/follow';
|
import followReducer from '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 '../../src/actions';
|
import actions from 'actions';
|
||||||
import inputReducer from '../../src/reducers/input';
|
import inputReducer from 'reducers/input';
|
||||||
|
|
||||||
describe("input reducer", () => {
|
describe("input reducer", () => {
|
||||||
it('return the initial state', () => {
|
it('return the initial state', () => {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import actions from '../../src/actions';
|
import actions from 'actions';
|
||||||
import settingReducer from '../../src/reducers/setting';
|
import settingReducer from 'reducers/setting';
|
||||||
|
|
||||||
describe("setting reducer", () => {
|
describe("setting reducer", () => {
|
||||||
it('return the initial state', () => {
|
it('return the initial state', () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import { validate } from '../../../src/shared/validators/setting';
|
import { validate } from 'shared/validators/setting';
|
||||||
|
|
||||||
describe("setting validator", () => {
|
describe("setting validator", () => {
|
||||||
describe("unknown top keys", () => {
|
describe("unknown top keys", () => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { expect } from "chai";
|
import { expect } from "chai";
|
||||||
import { createStore } from '../../src/store';
|
import { createStore } from 'store';
|
||||||
|
|
||||||
describe("Store class", () => {
|
describe("Store class", () => {
|
||||||
const reducer = (state, action) => {
|
const reducer = (state, action) => {
|
||||||
|
|
Reference in a new issue