Merge pull request #170 from IT2810-H26/backend/cache-count #234
Annotations
4 errors
|
test/components/GameCard.test.tsx > GameCard > henter et nedskalert bilde fra RAWG i stedet for originalen:
frontend/test/components/GameCard.test.tsx#L41
Error: expect(element).toHaveAttribute("src", "https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg") // element.getAttribute("src") === "https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg"
Expected the element to have attribute:
src="https://media.rawg.io/media/resize/200/-/games/618/witcher.jpg"
Received:
src="https://media.rawg.io/media/resize/420/-/games/618/witcher.jpg"
❯ test/components/GameCard.test.tsx:41:17
|
|
test/components/GameCard.test.tsx > GameCard > bruker større bilder i rutenett og utstilling:
frontend/test/components/GameCard.test.tsx#L59
AssertionError: expected 'https://media.rawg.io/media/resize/42…' to contain '/resize/640/'
Expected: "/resize/640/"
Received: "https://media.rawg.io/media/resize/420/-/games/618/witcher.jpg"
❯ test/components/GameCard.test.tsx:59:49
|
|
check-and-deploy
Process completed with exit code 1.
|
|
check-and-deploy
Process completed with exit code 1.
|