This repository was archived by the owner on Feb 22, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +6
-4
lines changed
Expand file tree Collapse file tree 4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -19,4 +19,4 @@ script:
1919 - npm run ex:build && npm run release
2020
2121after_success :
22- - npm run cover
22+ - npm run cover:hook
Original file line number Diff line number Diff line change 55 "main" : " commitlint.config.js" ,
66 "scripts" : {
77 "test" : " ./node_modules/.bin/mocha" ,
8- "cover" : " ./node_modules/.bin/nyc mocha && cat ./coverage/lcov.info | coveralls" ,
8+ "cover:local" : " ./node_modules/.bin/nyc mocha" ,
9+ "cover:hook" : " ./node_modules/.bin/nyc mocha && cat ./coverage/lcov.info | coveralls" ,
910 "ex" : " tsc ./build/webpack.dev.ts && env DEBUG=true webpack-dev-server --config build/webpack.dev.js --inline --progress --port 1338 && npm run tsc:clean" ,
1011 "ex:build" : " tsc ./build/webpack.prod.ts && rm -rf dist && webpack --config build/webpack.prod.js && npm run tsc:clean" ,
1112 "release" : " tsc ./build/main/webpack.prod.ts && rm -rf release && webpack --config build/main/webpack.prod.js && npm run tsc:clean" ,
6263 " test/**/*.ts"
6364 ],
6465 "exclude" : [
65- " typings"
66+ " typings" ,
67+ " **/*.nyc.ts"
6668 ],
6769 "extension" : [
6870 " .ts" ,
Original file line number Diff line number Diff line change 11import { EventHub } from '../../src/core/event'
22import { expect } from 'chai'
3- import { install } from '../dom'
3+ import { install } from '../dom.nyc '
44
55describe ( 'Core function test' , ( ) => {
66
File renamed without changes.
You can’t perform that action at this time.
0 commit comments