From f3e8b189254b86d2c852342d69167c35a08598a9 Mon Sep 17 00:00:00 2001 From: kpdecker Date: Sat, 1 Aug 2015 21:46:45 -0500 Subject: Add istanbul ignore to babel boilerplate --- Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index ad50db9..c2ff15e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -43,7 +43,8 @@ module.exports = function(grunt) { babel: { options: { - loose: ['es6.modules'] + loose: ['es6.modules'], + auxiliaryCommentBefore: 'istanbul ignore next' }, amd: { options: { @@ -75,7 +76,7 @@ module.exports = function(grunt) { module: { loaders: [ // the optional 'runtime' transformer tells babel to require the runtime instead of inlining it. - { test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime&loose=es6.modules' } + { test: /\.jsx?$/, exclude: /node_modules/, loader: 'babel-loader?optional=runtime&loose=es6.modules&auxiliaryCommentBefore=istanbul%20ignore%20next' } ] }, output: { -- cgit v1.1