1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`StackTraceTab component should render the link to docs 1`] = `
<div
style="padding: 5px 10px;"
>
To enable tracing action calls, you should set \`trace\` option to \`true\` for Redux DevTools enhancer. Refer to
<a
href="#"
>
this page
</a>
for more details.
</div>
`;
exports[`StackTraceTab component should render with no props 1`] = `
<div
style="padding: 5px 10px;"
>
<div
data-testid="stack-trace"
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
/>
</div>
`;
exports[`StackTraceTab component should render with props, but without stack 1`] = `
<div
style="padding: 5px 10px;"
>
<div
data-testid="stack-trace"
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
/>
</div>
`;
exports[`StackTraceTab component should render with trace stack 1`] = `
<div
style="padding: 5px 10px;"
>
<div
data-testid="stack-trace"
style="font-size: 1em; flex: 0 1 auto; min-height: 0px; overflow: auto;"
>
<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>
<div
style="display: block;"
>
<div>
<div>
fn1
</div>
<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>
</div>
</div>
</div>
</div>
`;
|