diff --git a/app/soapbox/components/__mocks__/react-inlinesvg.js b/app/soapbox/components/__mocks__/react-inlinesvg.js new file mode 100644 index 000000000..33da43fde --- /dev/null +++ b/app/soapbox/components/__mocks__/react-inlinesvg.js @@ -0,0 +1,10 @@ +import React from 'react'; +import PropTypes from 'prop-types'; + +export default function InlineSVG({ src }) { + return ; +} + +InlineSVG.propTypes = { + src: PropTypes.node.isRequired, +}; diff --git a/app/soapbox/components/__tests__/__snapshots__/timeline_queue_button_header-test.js.snap b/app/soapbox/components/__tests__/__snapshots__/timeline_queue_button_header-test.js.snap index 849b98606..ddc783a55 100644 --- a/app/soapbox/components/__tests__/__snapshots__/timeline_queue_button_header-test.js.snap +++ b/app/soapbox/components/__tests__/__snapshots__/timeline_queue_button_header-test.js.snap @@ -7,7 +7,19 @@ exports[` renders correctly 1`] = ` + > +
+ +
+
`; @@ -19,6 +31,17 @@ exports[` renders correctly 2`] = ` className="timeline-queue-header__btn" onClick={[Function]} > +
+ +
Click to see 1 new post @@ -32,6 +55,17 @@ exports[` renders correctly 3`] = ` className="timeline-queue-header__btn" onClick={[Function]} > +
+ +
Click to see 9999999 new posts