The tests for source map support were failing silently, this corrects that.
[tests] Add tests to check that the compilation object is updated with errors.
I noticed that the sourcemap test was passing when it should not have been.
That test needs to be corrected, but this additional test would have surfaced
the build error easier.
[tests] Correct failing sourceMap tests.
These were previously failing due to the provided SourceMap being a string and
not an object as webpack would pass. This update also introduces acorn and
escodegen, which are used together to create an input sourceMap rather than
creating one by hand.
Coverage increased (+0.8%) to 95.868% when pulling ecd5b8353355a6fa1f343da4f251ef2a9be6db78 on fix-source-map-test into 4b584c452731f501a2fe1b60f84000edfa84e94c on master.
The tests for source map support were failing silently, this corrects that.
[tests] Add tests to check that the compilation object is updated with errors. I noticed that the sourcemap test was passing when it should not have been. That test needs to be corrected, but this additional test would have surfaced the build error easier.
[tests] Correct failing sourceMap tests. These were previously failing due to the provided SourceMap being a string and not an object as webpack would pass. This update also introduces acorn and escodegen, which are used together to create an input sourceMap rather than creating one by hand.