We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd2fee commit a9ab9b0Copy full SHA for a9ab9b0
utils/testrunner/TestRunner.js
@@ -253,6 +253,8 @@ class TestWorker {
253
await this._testPass._willStartTestBody(this, test);
254
this._runningTestCallback = test._userCallback;
255
test.error = await test._userCallback.run(this._state, test);
256
+ if (test.error && test.error.stack)
257
+ await this._testPass._runner._sourceMapSupport.rewriteStackTraceWithSourceMaps(test.error);
258
this._runningTestCallback = null;
259
if (!test.error)
260
test.result = TestResult.Ok;
0 commit comments