2018-12-12 23:53:36 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2018-12-18 20:26:17 +03:00
|
|
|
exports[`StackTraceTab component should render the link to docs 1`] = `
|
2021-10-22 03:43:15 +03:00
|
|
|
<div
|
|
|
|
style="padding: 5px 10px;"
|
2018-12-18 20:26:17 +03:00
|
|
|
>
|
2021-10-22 03:43:15 +03:00
|
|
|
To enable tracing action calls, you should set \`trace\` option to \`true\` for Redux DevTools enhancer. Refer to
|
|
|
|
|
|
|
|
<a
|
|
|
|
href="#"
|
2018-12-18 20:26:17 +03:00
|
|
|
>
|
2021-10-22 03:43:15 +03:00
|
|
|
this page
|
|
|
|
</a>
|
|
|
|
|
|
|
|
for more details.
|
|
|
|
</div>
|
2018-12-18 20:26:17 +03:00
|
|
|
`;
|
|
|
|
|
2018-12-12 23:53:36 +03:00
|
|
|
exports[`StackTraceTab component should render with no props 1`] = `
|
2021-10-22 03:43:15 +03:00
|
|
|
<div
|
|
|
|
style="padding: 5px 10px;"
|
2019-02-07 02:58:51 +03:00
|
|
|
>
|
2018-12-12 23:53:36 +03:00
|
|
|
<div
|
2021-10-22 03:43:15 +03:00
|
|
|
data-testid="stack-trace"
|
|
|
|
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
|
|
|
|
/>
|
|
|
|
</div>
|
2018-12-12 23:53:36 +03:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`StackTraceTab component should render with props, but without stack 1`] = `
|
2021-10-22 03:43:15 +03:00
|
|
|
<div
|
|
|
|
style="padding: 5px 10px;"
|
2018-12-12 23:53:36 +03:00
|
|
|
>
|
|
|
|
<div
|
2021-10-22 03:43:15 +03:00
|
|
|
data-testid="stack-trace"
|
|
|
|
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
|
|
|
|
/>
|
|
|
|
</div>
|
2018-12-12 23:53:36 +03:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`StackTraceTab component should render with trace stack 1`] = `
|
2021-10-22 03:43:15 +03:00
|
|
|
<div
|
|
|
|
style="padding: 5px 10px;"
|
2018-12-12 23:53:36 +03:00
|
|
|
>
|
|
|
|
<div
|
2021-10-22 03:43:15 +03:00
|
|
|
data-testid="stack-trace"
|
|
|
|
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
|
2018-12-12 23:53:36 +03:00
|
|
|
>
|
2021-10-22 03:43:15 +03:00
|
|
|
<div>
|
|
|
|
<button
|
|
|
|
style="color: rgb(255, 255, 255); background-color: rgb(60, 68, 79); cursor: pointer; display: block; width: 100%; text-align: left; font-size: 1em; padding: 0px 5px; line-height: 1.5; margin-bottom: 0.6em;"
|
|
|
|
>
|
|
|
|
▼ 2 stack frames were expanded.
|
|
|
|
</button>
|
2018-12-14 20:21:36 +03:00
|
|
|
<div
|
2021-10-22 03:43:15 +03:00
|
|
|
style="display: block;"
|
2018-12-12 23:53:36 +03:00
|
|
|
>
|
2021-10-22 03:43:15 +03:00
|
|
|
<div>
|
2018-12-14 20:21:36 +03:00
|
|
|
<div>
|
2021-10-22 03:43:15 +03:00
|
|
|
fn1
|
2018-12-14 20:21:36 +03:00
|
|
|
</div>
|
2021-10-22 03:43:15 +03:00
|
|
|
<div
|
|
|
|
style="font-size: 0.9em; margin-bottom: 0.9em;"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
app.js:72:24
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
fn2
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
style="font-size: 0.9em; margin-bottom: 0.9em;"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
app.js:84:31
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
style="color: rgb(255, 255, 255); background-color: rgb(60, 68, 79); cursor: pointer; display: block; width: 100%; text-align: left; font-size: 1em; padding: 0px 5px; line-height: 1.5; margin-bottom: 0.6em;"
|
|
|
|
>
|
|
|
|
▲ 2 stack frames were expanded.
|
|
|
|
</button>
|
2018-12-14 20:21:36 +03:00
|
|
|
</div>
|
2021-10-22 03:43:15 +03:00
|
|
|
</div>
|
2018-12-12 23:53:36 +03:00
|
|
|
</div>
|
2021-10-22 03:43:15 +03:00
|
|
|
</div>
|
2018-12-12 23:53:36 +03:00
|
|
|
`;
|