1 |
|
2 |
|
3 | /**
|
4 | * Measure test coverage.
|
5 | */
|
6 |
|
7 |
|
8 |
|
9 | process.chdir(`${__dirname}/..`)
|
10 |
|
11 | const apeTasking = require('ape-tasking')
|
12 | const apeCovering = require('ape-covering')
|
13 |
|
14 | apeTasking.runTasks('cover', [
|
15 | () => apeCovering.measureCoverage('_mocha', [ 'test/*_test.js' ], {
|
16 | dir: 'coverage'
|
17 | })
|
18 | ], true)
|