test: add simple testcase for popover
Showing
... | @@ -83,6 +83,7 @@ | ... | @@ -83,6 +83,7 @@ |
"eslint-config-airbnb": "^0.1.0", | "eslint-config-airbnb": "^0.1.0", | ||
"eslint-plugin-babel": "^2.1.1", | "eslint-plugin-babel": "^2.1.1", | ||
"eslint-plugin-react": "^3.3.1", | "eslint-plugin-react": "^3.3.1", | ||
"expect.js": "~0.3.1", | |||
"extract-text-webpack-plugin": "^0.8.1", | "extract-text-webpack-plugin": "^0.8.1", | ||
"gh-pages": "^0.3.1", | "gh-pages": "^0.3.1", | ||
"jest-cli": "~0.6.1", | "jest-cli": "~0.6.1", | ||
... | @@ -105,7 +106,7 @@ | ... | @@ -105,7 +106,7 @@ |
"clean": "rm -rf _site dist", | "clean": "rm -rf _site dist", | ||
"deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy", | "deploy": "rm -rf node_modules && node scripts/install.js && npm run just-deploy", | ||
"just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js", | "just-deploy": "npm run clean && webpack --config webpack.deploy.config.js && NODE_ENV=PRODUCTION nico build && node scripts/deploy.js", | ||
"lint": "eslint components index.js --ext '.js,.jsx'", | "lint": "eslint components test index.js --ext '.js,.jsx'", | ||
"test": "npm run lint && webpack && npm run jest", | "test": "npm run lint && webpack && npm run jest", | ||
"jest": "jest", | "jest": "jest", | ||
"pub": "sh ./scripts/publish.sh", | "pub": "sh ./scripts/publish.sh", | ||
... | ... |
tests/popover.test.js
0 → 100644
想要评论请 注册 或 登录