Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
it("adds author profile fields to tracking context", () => {
const reporter = jest.fn();
const pageSize = 3;
renderer.create(
);
expect(reporter).toHaveBeenCalledWith(
expect.objectContaining({
object: "AuthorProfile",
attrs: expect.objectContaining({
authorName: "Deborah Haynes",
page: 1,
pageSize
})
it("renders page error", () => {
const wrapper = shallow(
{}}
onTwitterLinkPress={() => {}}
onArticlePress={() => {}}
onViewed={() => {}}
/>
);
expect(
wrapper
.dive()
.dive()