Skip to content

Commit

Permalink
Also add global:true in coverage mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
William Chou committed Oct 6, 2018
1 parent f959d08 commit 919eccc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build-system/tasks/runtime-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,9 @@ function runTests() {
c.browserify.transform = [
['babelify', {
compact: false,
// Transform files in node_modules since deps use ES6 export.
// https://github.com/babel/babelify#why-arent-files-in-node_modules-being-transformed
global: true,
plugins: [
['babel-plugin-istanbul', {
exclude: [
Expand Down

0 comments on commit 919eccc

Please sign in to comment.