Forcing source-map-support module into node environment, so its not tricked by jsdom (#4607)
This commit is contained in:
parent
6abc28e532
commit
aa0aada8ad
@ -10,6 +10,7 @@ import path from "path";
|
|||||||
|
|
||||||
sourceMapSupport.install({
|
sourceMapSupport.install({
|
||||||
handleUncaughtExceptions: false,
|
handleUncaughtExceptions: false,
|
||||||
|
environment : "node",
|
||||||
retrieveSourceMap(source) {
|
retrieveSourceMap(source) {
|
||||||
let map = maps && maps[source];
|
let map = maps && maps[source];
|
||||||
if (map) {
|
if (map) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user