global expect
This commit is contained in:
parent
b11a098d7c
commit
fc8a12faa6
33 changed files with 4 additions and 31 deletions
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'background/actions';
|
||||
import * as findActions from 'background/actions/find';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'background/actions';
|
||||
import findReducer from 'background/reducers/find';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'background/actions';
|
||||
import settingReducer from 'background/reducers/setting';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'console/actions';
|
||||
import * as consoleActions from 'console/actions/console';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'console/actions';
|
||||
import reducer from 'console/reducers';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import * as addonActions from 'content/actions/addon';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import * as followControllerActions from 'content/actions/follow-controller';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import * as inputActions from 'content/actions/input';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import * as settingActions from 'content/actions/setting';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import FollowComponent from 'content/components/common/follow';
|
||||
|
||||
describe('FollowComponent', () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import Hint from 'content/components/common/hint';
|
||||
|
||||
describe('Hint class', () => {
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
import InputComponent from 'content/components/common/input';
|
||||
import { expect } from "chai";
|
||||
|
||||
describe('InputComponent', () => {
|
||||
it('register callbacks', () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import HintKeyProducer from 'content/hint-key-producer';
|
||||
|
||||
describe('HintKeyProducer class', () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import * as navigates from 'content/navigates';
|
||||
|
||||
const testRel = (done, rel, html) => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import addonReducer from 'content/reducers/addon';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import findReducer from 'content/reducers/find';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import followControllerReducer from 'content/reducers/follow-controller';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import inputReducer from 'content/reducers/input';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'content/actions';
|
||||
import settingReducer from 'content/reducers/setting';
|
||||
|
||||
|
|
2
test/main.js
Normal file
2
test/main.js
Normal file
|
@ -0,0 +1,2 @@
|
|||
import chai from 'chai';
|
||||
global.expect = chai.expect;
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import { h, render } from 'preact';
|
||||
import BlacklistForm from 'settings/components/form/blacklist-form'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import { h, render } from 'preact';
|
||||
import KeymapsForm from 'settings/components/form/keymaps-form'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import { h, render } from 'preact';
|
||||
import PropertiesForm from 'settings/components/form/properties-form'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import { h, render } from 'preact';
|
||||
import SearchForm from 'settings/components/form/search-form'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import { h, render } from 'preact';
|
||||
import Input from 'settings/components/ui/input'
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import actions from 'settings/actions';
|
||||
import settingReducer from 'settings/reducers/setting';
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import * as parsers from 'shared/commands/parsers';
|
||||
|
||||
describe("shared/commands/parsers", () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import { validate } from 'shared/settings/validator';
|
||||
|
||||
describe("setting validator", () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import * as values from 'shared/settings/values';
|
||||
|
||||
describe("settings values", () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from "chai";
|
||||
import { createStore } from 'shared/store';
|
||||
|
||||
describe("Store class", () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import * as keys from 'shared/utils/keys';
|
||||
|
||||
describe("keys util", () => {
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import { expect } from 'chai';
|
||||
import * as re from 'shared/utils/re';
|
||||
|
||||
describe("re util", () => {
|
||||
|
|
Reference in a new issue