fix(deps): update dependency graphql-subscriptions to v2 #461
test.yml
on: push
Install and cache
56s
Vitest tests
20s
Jest tests
16s
Playwright tests
40s
Lint
14s
Prettier
22s
Check types
16s
Annotations
5 errors
Jest tests
Process completed with exit code 1.
|
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.
|