Skip to content

Commit

Permalink
test(ui-components): Add coverage script
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Aug 11, 2021
1 parent 86ca756 commit cb6e516
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"scripts": {
"test": "BABEL_ENV='test' ava",
"test:xs": "exit 0",
"test:c8": "c8 $C8_OPTIONS ava --config=ava-nesm.config.js",
"build:tests": "rm -rf compiled && BABEL_ENV='test' ./node_modules/.bin/babel test/components --out-dir compiled/test/components",
"build:src": "rm -rf dist && BABEL_ENV='test' ./node_modules/.bin/babel src --out-dir dist",
"build": "yarn build:src && yarn build:tests",
Expand Down Expand Up @@ -60,6 +61,7 @@
"babel-eslint": "^10.1.0",
"babel-plugin-named-asset-import": "^0.3.7",
"babel-preset-react-app": "^10.0.0",
"c8": "^7.7.2",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint-config-react-app": "^6.0.0",
Expand Down

0 comments on commit cb6e516

Please sign in to comment.