diff --git a/src/__tests__/__snapshots__/forecast-card.test.js.snap b/src/__tests__/__snapshots__/forecast-card.test.js.snap deleted file mode 100644 index 879078e..0000000 --- a/src/__tests__/__snapshots__/forecast-card.test.js.snap +++ /dev/null @@ -1,19 +0,0 @@ -// Jest Snapshot v1, https://goo.gl/fbAQLP - -exports[`ForecastCard renders the weekly forecast for the specified location: - Array [ - "Saturday22° / 22°", - "Sunday22° / 22°", - "Monday22° / 22°", - "Tuesday20° / 20°", - "Wednesday21° / 21°", - ] - 1`] = ` -[ - "Saturday22° / 22°", - "Sunday22° / 22°", - "Monday22° / 22°", - "Tuesday20° / 20°", - "Wednesday21° / 21°", -] -`; diff --git a/src/__tests__/forecast-card.test.js b/src/__tests__/forecast-card.test.js index 084c9b6..53793b2 100644 --- a/src/__tests__/forecast-card.test.js +++ b/src/__tests__/forecast-card.test.js @@ -17,17 +17,18 @@ 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( + } +)}); function renderForecast(testProps) { render();