Skip to content

Commit 829cf2b

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

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
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: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,18 @@ 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-
`);
29-
});
30-
});
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(
30+
}
31+
)});
3132

3233
function renderForecast(testProps) {
3334
render(<ForecastCard {...testProps} />);

0 commit comments

Comments
 (0)