TimelineQueueButtonHeader: fix tests
This commit is contained in:
parent
cbb033e866
commit
161b59431f
2 changed files with 35 additions and 1 deletions
BIN
app/soapbox/components/__mocks__/react-inlinesvg.js
vendored
Normal file
BIN
app/soapbox/components/__mocks__/react-inlinesvg.js
vendored
Normal file
Binary file not shown.
|
@ -7,8 +7,20 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 1`] = `
|
||||||
<a
|
<a
|
||||||
className="timeline-queue-header__btn"
|
className="timeline-queue-header__btn"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
className="svg-icon"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
id={
|
||||||
|
Object {
|
||||||
|
"process": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`<TimelineQueueButtonHeader /> renders correctly 2`] = `
|
exports[`<TimelineQueueButtonHeader /> renders correctly 2`] = `
|
||||||
|
@ -19,6 +31,17 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 2`] = `
|
||||||
className="timeline-queue-header__btn"
|
className="timeline-queue-header__btn"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
|
<div
|
||||||
|
className="svg-icon"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
id={
|
||||||
|
Object {
|
||||||
|
"process": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
Click to see 1 new post
|
Click to see 1 new post
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -32,6 +55,17 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 3`] = `
|
||||||
className="timeline-queue-header__btn"
|
className="timeline-queue-header__btn"
|
||||||
onClick={[Function]}
|
onClick={[Function]}
|
||||||
>
|
>
|
||||||
|
<div
|
||||||
|
className="svg-icon"
|
||||||
|
>
|
||||||
|
<svg
|
||||||
|
id={
|
||||||
|
Object {
|
||||||
|
"process": [Function],
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
Click to see 9999999 new posts
|
Click to see 9999999 new posts
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue