mirror of
https://github.com/nasa/openmct.git
synced 2024-12-24 07:16:39 +00:00
ca7fbe58e3
* WIP add instanbul code coverage to vue files * move webpack coverage config to a separate file for test:coverage, pin dependencies, remove istanbul-instrumenter-loader * dont include node_modules in babel config, it breaks istanbul for some reason * ignore spec files from coverage * document coverage files, remove unused karma config * use test instead of test:coverage in config.yml, disable code and link to issue to enable coverage in Vue <template>s
10 lines
259 B
JavaScript
10 lines
259 B
JavaScript
// This is a Babel config that webpack.coverage.js uses in order to instrument
|
|
// code with coverage instrumentation.
|
|
const babelConfig = {
|
|
plugins: [['babel-plugin-istanbul', {
|
|
extension: ['.js', '.vue']
|
|
}]]
|
|
};
|
|
|
|
module.exports = babelConfig;
|