Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
puncsky committed Jan 22, 2021
1 parent 74eff96 commit ffd4cf2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 8 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"dependencies": {},
"scripts": {
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
"build-storybook": "build-storybook",
"test": "lerna run test"
}
}
4 changes: 3 additions & 1 deletion packages/common-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
],
"scripts": {
"dev": "webpack-dev-server",
"test": "npm run cover",
"check-coverage": "nyc check-coverage --lines 65 --functions 60 --Statements 65",
"ava": "NODE_ENV=test ava",
"server": "node server",
Expand Down Expand Up @@ -92,9 +91,12 @@
"babel-plugin-transform-class-properties": "6.24.1",
"browser-env": "3.3.0",
"eslint": "7.9.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react-hooks": "^4.2.0",
"global": "4.4.0",
"graphql": "^15.4.0",
"html-webpack-plugin": "3.2.0",
"husky": "4.3.6",
"koa": "^2.13.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/common-components/src/storybook-utils.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { styled } from "onefx/lib/styletron-react";
import { styled, Theme, ThemeProvider } from "onefx/lib/styletron-react";
import React from "react";
import "./antd.less";
import { Story } from "@storybook/react/types-6-0";
import { BrowserRouter } from "react-router-dom";
import { Theme, ThemeProvider } from "onefx/lib/styletron-react";

import { THEME } from "onefx/lib/styletron-react/theme-provider";
import { Client as StyletronClient } from "styletron-engine-atomic";
import { Provider as StyletronProvider } from "styletron-react";
Expand Down
3 changes: 0 additions & 3 deletions packages/eslint-config-onefx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
"version": "2.6.4",
"description": "lint rules for onefx projects",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"peerDependencies": {
"eslint": ">= 7"
},
Expand Down
4 changes: 3 additions & 1 deletion packages/onefx-auth-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
],
"scripts": {
"dev": "webpack-dev-server",
"test": "npm run cover",
"check-coverage": "nyc check-coverage --lines 65 --functions 60 --Statements 65",
"ava": "NODE_ENV=test ava",
"server": "node server",
Expand Down Expand Up @@ -94,10 +93,13 @@
"babel-plugin-transform-class-properties": "6.24.1",
"browser-env": "3.3.0",
"eslint": "7.9.0",
"eslint-plugin-graphql": "^4.0.0",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-react": "7.20.6",
"eslint-plugin-react-hooks": "^4.2.0",
"form-serialize": "^0.7.2",
"global": "4.4.0",
"graphql": "^15.4.0",
"html-webpack-plugin": "3.2.0",
"husky": "4.3.6",
"is-browser": "^2.1.0",
Expand Down

0 comments on commit ffd4cf2

Please sign in to comment.