Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("should render styling correctly", () => {
const pageSize = 3;
const tree = renderer.create(
);
expect(tree).toMatchSnapshot();
});
};
export default () => {
const pageSize = 3;
const slug = "chelsea";
const mockArticles = fixtureGenerator.makeTopicArticleMocks({
pageSize,
withImages: true
});
const props = {
adConfig: {},
analyticsStream: () => {},
isLoading: false,
onArticlePress: () => {},
page: 1,
pageSize,
refetch: () => {},
slug,
topic: {
name: "Chelsea",
description: