Skip to content

[experiment] proto use of experimental content monorepo api #13105

[experiment] proto use of experimental content monorepo api

[experiment] proto use of experimental content monorepo api #13105

Triggered via pull request July 22, 2024 19:58
Status Failure
Total duration 1m 26s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
src/components/image/index.test.tsx > image component > renders the next/image component when dimensions are in url: src/components/image/index.test.tsx#L47
Error: expect(element).toHaveAttribute("width", "500") // element.getAttribute("width") === "500" Expected the element to have attribute: width="500" Received: null ❯ src/components/image/index.test.tsx:47:17
src/views/docs-view/loaders/content-api/content-api.test.ts > contentApi > fetchDocument > should throw if a document is not found: src/views/docs-view/loaders/content-api/content-api.test.ts#L43
Error: Snapshot `contentApi > fetchDocument > should throw if a document is not found 1` mismatched - Expected + Received - [ContentApiError: Failed to fetch: https://content.hashicorp.com/api/content/waypoint/doc/latest/commands/k8s-bootstrap] + [ContentApiError: Failed to fetch: http://localhost:3000/api/content/waypoint/doc/latest/commands/k8s-bootstrap] ❯ src/views/docs-view/loaders/content-api/content-api.test.ts:43:4
src/views/docs-view/loaders/content-api/content-api.test.ts > contentApi > fetchNavData > should throw if a navData is not found: src/views/docs-view/loaders/content-api/content-api.test.ts#L71
Error: Snapshot `contentApi > fetchNavData > should throw if a navData is not found 1` mismatched - Expected + Received - [ContentApiError: Failed to fetch: https://content.hashicorp.com/api/content/waypoint/nav-data/v0.9000.x/commands] + [ContentApiError: Failed to fetch: http://localhost:3000/api/content/waypoint/nav-data/v0.9000.x/commands] ❯ src/views/docs-view/loaders/content-api/content-api.test.ts:71:4
Run Tests 🧪
Process completed with exit code 1.