mirror of https://github.com/thumbsup/thumbsup
chore(build): require all source files in the tests so the coverage report shows untested files
parent
81a85004c2
commit
72a23807f1
@ -0,0 +1,6 @@
|
||||
const path = require('path')
|
||||
const requireAll = require('require-all')
|
||||
|
||||
// require all source code
|
||||
// so that the coverage report is accurate
|
||||
requireAll(path.join(__dirname, '..', 'src'))
|
@ -1 +1,2 @@
|
||||
--recursive
|
||||
--require test/helpers.js
|
||||
|
Loading…
Reference in New Issue