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,7 +7,19 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 1`] = `
|
|||
<a
|
||||
className="timeline-queue-header__btn"
|
||||
onClick={[Function]}
|
||||
/>
|
||||
>
|
||||
<div
|
||||
className="svg-icon"
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
Object {
|
||||
"process": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
@ -19,6 +31,17 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 2`] = `
|
|||
className="timeline-queue-header__btn"
|
||||
onClick={[Function]}
|
||||
>
|
||||
<div
|
||||
className="svg-icon"
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
Object {
|
||||
"process": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
Click to see 1 new post
|
||||
</a>
|
||||
</div>
|
||||
|
@ -32,6 +55,17 @@ exports[`<TimelineQueueButtonHeader /> renders correctly 3`] = `
|
|||
className="timeline-queue-header__btn"
|
||||
onClick={[Function]}
|
||||
>
|
||||
<div
|
||||
className="svg-icon"
|
||||
>
|
||||
<svg
|
||||
id={
|
||||
Object {
|
||||
"process": [Function],
|
||||
}
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
Click to see 9999999 new posts
|
||||
</a>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue