From 3b5b21665d3baa33c8c2e5805c54c70fbf841e07 Mon Sep 17 00:00:00 2001 From: Joakim Bjerknes Date: Wed, 15 Mar 2023 09:32:43 +0100 Subject: [PATCH] feat: move dnb image assets to own subfolder (#2099) --- .../assets/images/{ => dnb}/dnb-icon.png | Bin .../assets/images/{ => dnb}/dnb-logo.png | Bin .../logo/__tests__/Logo.screenshot.test.ts | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename packages/dnb-eufemia/assets/images/{ => dnb}/dnb-icon.png (100%) rename packages/dnb-eufemia/assets/images/{ => dnb}/dnb-logo.png (100%) diff --git a/packages/dnb-eufemia/assets/images/dnb-icon.png b/packages/dnb-eufemia/assets/images/dnb/dnb-icon.png similarity index 100% rename from packages/dnb-eufemia/assets/images/dnb-icon.png rename to packages/dnb-eufemia/assets/images/dnb/dnb-icon.png diff --git a/packages/dnb-eufemia/assets/images/dnb-logo.png b/packages/dnb-eufemia/assets/images/dnb/dnb-logo.png similarity index 100% rename from packages/dnb-eufemia/assets/images/dnb-logo.png rename to packages/dnb-eufemia/assets/images/dnb/dnb-logo.png diff --git a/packages/dnb-eufemia/src/components/logo/__tests__/Logo.screenshot.test.ts b/packages/dnb-eufemia/src/components/logo/__tests__/Logo.screenshot.test.ts index 9bc42ccff0e..adcc17273b3 100644 --- a/packages/dnb-eufemia/src/components/logo/__tests__/Logo.screenshot.test.ts +++ b/packages/dnb-eufemia/src/components/logo/__tests__/Logo.screenshot.test.ts @@ -44,7 +44,7 @@ describe('Logo', () => { describe('png image', () => { it('have to match image snapshot', async () => { const image = await loadImage( - path.resolve(__dirname, '../../../../assets/images/dnb-logo.png') + path.resolve(__dirname, '../../../../assets/images/dnb/dnb-logo.png') ) expect(image).toMatchImageSnapshot() })