Forcing source-map-support module into node environment, so its not tricked by jsdom (#4607)

This commit is contained in:
Joakim 2016-09-29 17:01:31 +02:00 committed by Daniel Tschinder
parent 6abc28e532
commit aa0aada8ad

View File

@ -10,6 +10,7 @@ import path from "path";
sourceMapSupport.install({
handleUncaughtExceptions: false,
environment : "node",
retrieveSourceMap(source) {
let map = maps && maps[source];
if (map) {