Skip to content

Commit

Permalink
(test) Intentionally break test to see how reporter works
Browse files Browse the repository at this point in the history
  • Loading branch information
denniskigen committed Sep 9, 2022
1 parent 937b082 commit 71fc545
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 28 deletions.
19 changes: 0 additions & 19 deletions src/__tests__/__snapshots__/forecast-card.test.js.snap

This file was deleted.

19 changes: 10 additions & 9 deletions src/__tests__/forecast-card.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,16 @@ describe('ForecastCard', () => {
return listItem.textContent;
});

expect(forecast).toMatchSnapshot(`
Array [
"Saturday22° / 22°",
"Sunday22° / 22°",
"Monday22° / 22°",
"Tuesday20° / 20°",
"Wednesday21° / 21°",
]
`);
// const expected = [
// "Saturday22° / 22°",
// "Sunday22° / 22°",
// "Monday22° / 22°",
// "Tuesday20° / 20°",
// "Wednesday21° / 21°",
// ];

expect(forecast).toEqual(null);
// expect(forecast).toEqual(expect.arrayContaining(
});
});

Expand Down

1 comment on commit 71fc545

@vercel
Copy link

@vercel vercel bot commented on 71fc545 Sep 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.