Commit 09163d71 authored by machenbach's avatar machenbach Committed by Commit bot

[foozzie] Mock out stack traces

BUG=chromium:683494
NOTRY=true
TBR=yangguo@chromium.org, jarin@chromium.org

Review-Url: https://codereview.chromium.org/2651713005
Cr-Commit-Position: refs/heads/master@{#42619}
parent 8da82d30
......@@ -53,6 +53,11 @@ __magic_mock_date_handler = {
Date = new Proxy(Date, __magic_mock_date_handler);
// Mock stack traces.
Error.prepareStackTrace = function (error, structuredStackTrace) {
return "";
}
// Mock Worker.
var __magic_index_for_mocked_worker = 0
// TODO(machenbach): Randomize this for each test case, but keep stable during
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment