• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

insin / nwb / 1047
78%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2021 04:24PM UTC
Jobs 3
Files 22
Run time 17min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1047

push

travis-ci

insin
Update Babel to 7.13
Update Karma to 6.x
Update Webpack to 5.x and update all loaders
Finally dropped PhantomJS - Karma tests now use ChromeHeadless by default

Internal

-Babel config changes
  - Set the configured browserslist the new top-level option in Babel 7.13, instead of in @babel/preset-env's options
  - Drop the useESModules option for @babel/plugin-transform-runtime, which was deprecated in Babel 7.13
  - Removed harcoded use of @babel/plugin-proposal-optional-chaining and @babel/plugin-proposal-nullish-coalescing-operator as Webpack 5 can now parse these

- Karma config changes
  - karma-webpack 5.x now requires 'webpack' to be listed in frameworks config
  - Karma Server now requires a config object to be passed through a parseConfig() call
  - Shim the global process variable in the test Webpack config, as one of expect's dependencies uses it

- Webpack 5 config changes
  - Set optimization.nodeEnv = false to prevent webpack defining process.env.NODE_ENV via DefinePlugin to prevent a new warning from DefinePlugin about this conflicting with the value nwb sets
  - Removed optimization.noEmitOnErrors
  - postcss-loader now expects options in a postCssOptions object and no longer needs an ident option
  - optimization.splitChunks.cacheGroups.vendors was renamed to defaultVendors
  - Fix Webpack devtool config in Karma config
  - Replace optimize-css-assets-webpack-plugin with css-minimizer-webpack-plugin to avoid a deprecation warning
  - Source is no longer available from the Webpack stats object, calculate gzip file sizes from the output assets instead
  - Use Source.source() when inlining the runtime chunk into generated HTML and remove the new default defer attribute from its script
  - Remove removed watchOptions option
  - Remove removed logLeval option for webpack middleware - use stats: 'none' instead
  - Stopped forcing process.env.NODE_ENV to 'test' before running a Karma server, as DefinePlugin was creating conflicting values war... (continued)

605 of 880 branches covered (68.75%)

798 of 1019 relevant lines covered (78.31%)

60.18 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
3
100.0
src/createBabelConfig.js
Jobs
ID Job ID Ran Files Coverage
1 1047.1 04 Apr 2021 04:24PM UTC 0
78.31
Travis Job 1047.1
2 1047.2 04 Apr 2021 04:24PM UTC 0
78.31
Travis Job 1047.2
3 1047.3 04 Apr 2021 04:24PM UTC 0
78.31
Travis Job 1047.3
Source Files on build 1047
  • Tree
  • List 22
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #1047
  • dafb9ab0 on github
  • Prev Build on master (#1046)
  • Next Build on master (#1048)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc