Skip to content

Commit 71fc545

Browse files
committed
(test) Intentionally break test to see how reporter works
1 parent 937b082 commit 71fc545

File tree

2 files changed

+10
-28
lines changed

2 files changed

+10
-28
lines changed

src/__tests__/__snapshots__/forecast-card.test.js.snap

Lines changed: 0 additions & 19 deletions
This file was deleted.

src/__tests__/forecast-card.test.js

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,16 @@ describe('ForecastCard', () => {
1717
return listItem.textContent;
1818
});
1919

20-
expect(forecast).toMatchSnapshot(`
21-
Array [
22-
"Saturday22° / 22°",
23-
"Sunday22° / 22°",
24-
"Monday22° / 22°",
25-
"Tuesday20° / 20°",
26-
"Wednesday21° / 21°",
27-
]
28-
`);
20+
// const expected = [
21+
// "Saturday22° / 22°",
22+
// "Sunday22° / 22°",
23+
// "Monday22° / 22°",
24+
// "Tuesday20° / 20°",
25+
// "Wednesday21° / 21°",
26+
// ];
27+
28+
expect(forecast).toEqual(null);
29+
// expect(forecast).toEqual(expect.arrayContaining(
2930
});
3031
});
3132

0 commit comments

Comments
 (0)