Skip to content

chore: remove cat images that caused testing errors#4692

Open
mimarz wants to merge 3 commits intomainfrom
chore-remove-cats-that-cant-be-found
Open

chore: remove cat images that caused testing errors#4692
mimarz wants to merge 3 commits intomainfrom
chore-remove-cats-that-cant-be-found

Conversation

@mimarz
Copy link
Copy Markdown
Collaborator

@mimarz mimarz commented Apr 1, 2026

Removed cat images and @asset that was causing resolving errors.
Replaced cat images with 1x1 transparent gif.

 ✓  @digdir/designsystemet-react (chromium)  src/components/dropdown/dropdown.test.tsx (2 tests) 33ms
1:43:43 PM [vite] (client) Pre-transform error: Failed to resolve import "@assets/img/cats/Cat 3.jpg" from "packages/react/src/components/avatar/avatar.stories.tsx". Does the file exist?
  Plugin: vite:import-analysis
  File: /Users/michaelmarszalek/Documents/designsystemet/packages/react/src/components/avatar/avatar.stories.tsx:1:17
  1  |  "use strict";
  2  |  import { Fragment, jsxDEV } from "react/jsx-dev-runtime";
  3  |  import cat1 from "@assets/img/cats/Cat 3.jpg";
     |                    ^
  4  |  import { BriefcaseIcon } from "@navikt/aksel-icons";
  5  |  import { themeColors } from "../../../stories/constants";
1:43:43 PM [vite] (client) Pre-transform error: Failed to resolve import "@assets/img/cats/Cat 1.jpg" from "packages/react/src/components/card/card.stories.tsx". Does the file exist?
  Plugin: vite:import-analysis
  File: /Users/michaelmarszalek/Documents/designsystemet/packages/react/src/components/card/card.stories.tsx:1:17
  1  |  "use strict";
  2  |  import { Fragment, jsxDEV } from "react/jsx-dev-runtime";
  3  |  import cat1 from "@assets/img/cats/Cat 1.jpg";
     |                    ^
  4  |  import cat5 from "@assets/img/cats/Cat 5.jpg";
  5  |  import { severityColors, themeColors } from "../../../stories/constants";

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 1, 2026

🦋 Changeset detected

Latest commit: 9302b9a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

Preview deployments for this pull request:

storybook - 1. Apr 2026 - 14:17

@mimarz mimarz marked this pull request as ready for review April 1, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant