Skip to content

chore: fix Jest polyfills #468

chore: fix Jest polyfills

chore: fix Jest polyfills #468

Triggered via push October 3, 2024 18:23
Status Failure
Total duration 57s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Check types: src/utilities.ts#L74
Type '(data: { __typename?: string | undefined; }) => string | undefined' is not assignable to type '(data: { __typename?: string | undefined; }) => string'.
Check types
Process completed with exit code 2.
src/__tests__/handlers.test.tsx > integration tests > multipart response > uses the initial mock schema set in the handler by default: src/__tests__/handlers.test.tsx#L83
Error: expect(element).not.toHaveTextContent() Expected element not to have text content: - Received: - Ignored nodes: comments, script, style <html> <head /> <body> <div> <div class="bg-white" > <div class="mx-auto max-w-2xl px-4 py-4 sm:px-6 lg:max-w-7xl lg:px-8" > <h2 class="text-2xl font-bold tracking-tight text-gray-900" > Customers also purchased </h2> <div class="mt-6 grid grid-cols-1 gap-x-6 gap-y-10 sm:grid-cols-2 lg:grid-cols-4 xl:gap-x-8" > <div class="group relative" > <div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80" > <img class="h-full w-full object-cover object-center lg:h-full lg:w-full" src="https://storage.googleapis.com/hack-the-supergraph/apollo-beanie.jpg" /> </div> <div class="mt-4 flex justify-between" > <div> <h3 class="text-sm text-gray-700" > <a href="#" > <span aria-hidden="true" class="absolute inset-0" /> beanie </a> </h3> </div> <p class="text-sm font-medium text-gray-900" data-testid="rating" > - </p> </div> </div> <div class="group relative" > <div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80" > <img class="h-full w-full object-cover object-center lg:h-full lg:w-full" src="https://storage.googleapis.com/hack-the-supergraph/apollo-bottle.jpg" /> </div> <div class="mt-4 flex justify-between" > <div> <h3 class="text-sm text-gray-700" > <a href="#" > <span aria-hidden="true" class="absolute inset-0" /> bottle </a> </h3> </div> <p class="text-sm font-medium text-gray-900" data-testid="rating" > - </p> </div> </div> <div class="group relative" > <div class="aspect-h-1 aspect-w-1 w-full overflow-hidden rounded-md bg-gray-200 lg:aspect-none group-hover:opacity-75 lg:h-80" > <img class="h-full w-full object-cover object-center lg:h-full lg:w-full" src="https://storage.googleapis.com/hack-the-supergraph/apollo-cap.jpg" /> </div> <div class="mt-4 flex justify-between" > <div> <h3 class="text-sm text-gray-700" > <a href="#" > <span aria-hidden="true" class="absolute inset-0" /> cap </a> </h3> </div> <p class="text-sm font-
Vitest tests
Process completed with exit code 1.