From f886421973a9cf227ee09e8ae04647c56adcd46b Mon Sep 17 00:00:00 2001 From: Puria Nafisi Azizi Date: Tue, 13 Feb 2024 16:56:42 +0100 Subject: [PATCH] fix: Fixed tests --- src/components/logo/test/didroom-logo.e2e.ts | 11 ----------- src/components/logo/test/didroom-logo.spec.tsx | 18 ------------------ 2 files changed, 29 deletions(-) delete mode 100644 src/components/logo/test/didroom-logo.e2e.ts delete mode 100644 src/components/logo/test/didroom-logo.spec.tsx diff --git a/src/components/logo/test/didroom-logo.e2e.ts b/src/components/logo/test/didroom-logo.e2e.ts deleted file mode 100644 index 386c795..0000000 --- a/src/components/logo/test/didroom-logo.e2e.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { newE2EPage } from '@stencil/core/testing'; - -describe('didroom-logo', () => { - it('renders', async () => { - const page = await newE2EPage(); - await page.setContent(''); - - const element = await page.find('didroom-logo'); - expect(element).toHaveClass('hydrated'); - }); -}); diff --git a/src/components/logo/test/didroom-logo.spec.tsx b/src/components/logo/test/didroom-logo.spec.tsx deleted file mode 100644 index 93f716f..0000000 --- a/src/components/logo/test/didroom-logo.spec.tsx +++ /dev/null @@ -1,18 +0,0 @@ -import { newSpecPage } from '@stencil/core/testing'; -import { DidroomLogo } from '../didroom-logo'; - -describe('didroom-logo', () => { - it('renders', async () => { - const page = await newSpecPage({ - components: [DidroomLogo], - html: ``, - }); - expect(page.root).toEqualHtml(` - - - - - - `); - }); -});