Skip to content

Polyconseil/karma-webpack-errors-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-webpack-error-reporter

Extends karma-mocha-reporter with better error reporting, if you're using Webpack.

In a nutshell, you go from:

/home/user/dev/stations-ui/src/modules/stations/tests/controllers.spec.js:100679:11 <- webpack:///src/modules/stations/controllers.js:124:0

to:

file "src/modules/stations/controllers.js", line 124:
   raw.charge_points = raw.charge_points.map(cp => new ChargePoint(cp))

That's it.

Installation

Install it with:

{
  reporters: ['webpack-error'],
}

in your Karma configuration file.

License

MIT

About

WIP: A better Webpack error reporting plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published