aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/molecules
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2023-09-25 15:24:06 +0200
committerArmand Philippot <git@armandphilippot.com>2023-10-24 12:23:48 +0200
commita22214f2a2efcdac2666e1aad3332cb49d2f2198 (patch)
treea1f9c6a20ca5d5fa81c998b8a53974be310a0d02 /src/components/molecules
parenta6ff5eee45215effb3344cb5d631a27a7c0369aa (diff)
build: convert project to esm
Diffstat (limited to 'src/components/molecules')
-rw-r--r--src/components/molecules/buttons/back-to-top.test.tsx1
-rw-r--r--src/components/molecules/buttons/heading-button.test.tsx1
-rw-r--r--src/components/molecules/buttons/help-button.test.tsx1
-rw-r--r--src/components/molecules/forms/flipping-label/flipping-label.test.tsx1
-rw-r--r--src/components/molecules/forms/labelled-field/labelled-field.test.tsx1
-rw-r--r--src/components/molecules/forms/radio-group/radio-group.test.tsx1
-rw-r--r--src/components/molecules/forms/switch/switch.test.tsx1
-rw-r--r--src/components/molecules/images/flipping-logo.test.tsx1
-rw-r--r--src/components/molecules/images/responsive-image.test.tsx1
-rw-r--r--src/components/molecules/layout/branding.test.tsx1
-rw-r--r--src/components/molecules/layout/card.test.tsx1
-rw-r--r--src/components/molecules/layout/code.test.tsx1
-rw-r--r--src/components/molecules/layout/columns.test.tsx3
-rw-r--r--src/components/molecules/layout/meta.test.tsx1
-rw-r--r--src/components/molecules/layout/page-footer.test.tsx1
-rw-r--r--src/components/molecules/layout/page-header.test.tsx1
-rw-r--r--src/components/molecules/layout/widget.test.tsx1
-rw-r--r--src/components/molecules/nav/breadcrumb.test.tsx1
-rw-r--r--src/components/molecules/nav/nav.test.tsx1
-rw-r--r--src/components/molecules/nav/pagination.test.tsx1
-rw-r--r--src/components/molecules/tooltip/tooltip.test.tsx1
21 files changed, 22 insertions, 1 deletions
diff --git a/src/components/molecules/buttons/back-to-top.test.tsx b/src/components/molecules/buttons/back-to-top.test.tsx
index b39a377..aaae3ef 100644
--- a/src/components/molecules/buttons/back-to-top.test.tsx
+++ b/src/components/molecules/buttons/back-to-top.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { BackToTop } from './back-to-top';
diff --git a/src/components/molecules/buttons/heading-button.test.tsx b/src/components/molecules/buttons/heading-button.test.tsx
index d64283a..4d3d91e 100644
--- a/src/components/molecules/buttons/heading-button.test.tsx
+++ b/src/components/molecules/buttons/heading-button.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { HeadingButton } from './heading-button';
diff --git a/src/components/molecules/buttons/help-button.test.tsx b/src/components/molecules/buttons/help-button.test.tsx
index 486ed4b..85daf30 100644
--- a/src/components/molecules/buttons/help-button.test.tsx
+++ b/src/components/molecules/buttons/help-button.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { HelpButton } from './help-button';
diff --git a/src/components/molecules/forms/flipping-label/flipping-label.test.tsx b/src/components/molecules/forms/flipping-label/flipping-label.test.tsx
index 7813855..71ea2ba 100644
--- a/src/components/molecules/forms/flipping-label/flipping-label.test.tsx
+++ b/src/components/molecules/forms/flipping-label/flipping-label.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { FlippingLabel } from './flipping-label';
diff --git a/src/components/molecules/forms/labelled-field/labelled-field.test.tsx b/src/components/molecules/forms/labelled-field/labelled-field.test.tsx
index 9e39e1f..8bc7c39 100644
--- a/src/components/molecules/forms/labelled-field/labelled-field.test.tsx
+++ b/src/components/molecules/forms/labelled-field/labelled-field.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Input, Label } from '../../../atoms';
import { LabelledField } from './labelled-field';
diff --git a/src/components/molecules/forms/radio-group/radio-group.test.tsx b/src/components/molecules/forms/radio-group/radio-group.test.tsx
index dba1541..ba68925 100644
--- a/src/components/molecules/forms/radio-group/radio-group.test.tsx
+++ b/src/components/molecules/forms/radio-group/radio-group.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Legend } from '../../../atoms';
import { RadioGroup } from './radio-group';
diff --git a/src/components/molecules/forms/switch/switch.test.tsx b/src/components/molecules/forms/switch/switch.test.tsx
index 6ccd525..3d091cb 100644
--- a/src/components/molecules/forms/switch/switch.test.tsx
+++ b/src/components/molecules/forms/switch/switch.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Legend } from '../../../atoms';
import { Switch, SwitchOption } from './switch';
diff --git a/src/components/molecules/images/flipping-logo.test.tsx b/src/components/molecules/images/flipping-logo.test.tsx
index 3a29891..ec0b787 100644
--- a/src/components/molecules/images/flipping-logo.test.tsx
+++ b/src/components/molecules/images/flipping-logo.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { FlippingLogo } from './flipping-logo';
diff --git a/src/components/molecules/images/responsive-image.test.tsx b/src/components/molecules/images/responsive-image.test.tsx
index a738686..dec36ea 100644
--- a/src/components/molecules/images/responsive-image.test.tsx
+++ b/src/components/molecules/images/responsive-image.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { ResponsiveImage } from './responsive-image';
diff --git a/src/components/molecules/layout/branding.test.tsx b/src/components/molecules/layout/branding.test.tsx
index 3aa125d..4b76446 100644
--- a/src/components/molecules/layout/branding.test.tsx
+++ b/src/components/molecules/layout/branding.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Branding } from './branding';
diff --git a/src/components/molecules/layout/card.test.tsx b/src/components/molecules/layout/card.test.tsx
index 0fcd59e..c6498b8 100644
--- a/src/components/molecules/layout/card.test.tsx
+++ b/src/components/molecules/layout/card.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Card } from './card';
import { cover, id, meta, tagline, title, url } from './card.fixture';
diff --git a/src/components/molecules/layout/code.test.tsx b/src/components/molecules/layout/code.test.tsx
index 8687693..a0e4143 100644
--- a/src/components/molecules/layout/code.test.tsx
+++ b/src/components/molecules/layout/code.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Code } from './code';
diff --git a/src/components/molecules/layout/columns.test.tsx b/src/components/molecules/layout/columns.test.tsx
index c907d8b..d63e477 100644
--- a/src/components/molecules/layout/columns.test.tsx
+++ b/src/components/molecules/layout/columns.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Column } from '../../atoms';
import { Columns } from './columns';
@@ -6,7 +7,7 @@ const column1 =
'Non praesentium voluptas quisquam ex est. Distinctio accusamus facilis libero in aut. Et veritatis quo impedit fugit amet sit accusantium. Ut est rerum asperiores sint libero eveniet. Molestias placeat recusandae suscipit eligendi sunt hic.';
const column2 =
- 'Occaecati consectetur ad similique itaque rem doloremque commodi voluptate porro. Nam quo voluptas commodi qui rerum qui. Explicabo quis adipisci rerum. Culpa alias laboriosam temporibus iusto harum at placeat.';
+ 'Quo perspiciatis mollitia non et. Modi voluptatem molestias. Facere ut molestiae exercitationem non nesciunt unde adipisci. Non cupiditate provident repudiandae. Natus quia necessitatibus libero enim earum quam et.';
const column3 =
'Libero aut ab neque voluptatem commodi. Quam quia voluptatem iusto dolorum. Enim ipsa totam corrupti qui cum quidem ea. Eos sed aliquam porro consequatur officia sed.';
diff --git a/src/components/molecules/layout/meta.test.tsx b/src/components/molecules/layout/meta.test.tsx
index 1087fbb..f19c408 100644
--- a/src/components/molecules/layout/meta.test.tsx
+++ b/src/components/molecules/layout/meta.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { getFormattedDate } from '../../../utils/helpers';
import { Meta } from './meta';
diff --git a/src/components/molecules/layout/page-footer.test.tsx b/src/components/molecules/layout/page-footer.test.tsx
index 8497be9..7f0bcd5 100644
--- a/src/components/molecules/layout/page-footer.test.tsx
+++ b/src/components/molecules/layout/page-footer.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { PageFooter } from './page-footer';
diff --git a/src/components/molecules/layout/page-header.test.tsx b/src/components/molecules/layout/page-header.test.tsx
index b66f77a..1f1a139 100644
--- a/src/components/molecules/layout/page-header.test.tsx
+++ b/src/components/molecules/layout/page-header.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { PageHeader } from './page-header';
diff --git a/src/components/molecules/layout/widget.test.tsx b/src/components/molecules/layout/widget.test.tsx
index 11b37a5..21c7a3c 100644
--- a/src/components/molecules/layout/widget.test.tsx
+++ b/src/components/molecules/layout/widget.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Widget } from './widget';
diff --git a/src/components/molecules/nav/breadcrumb.test.tsx b/src/components/molecules/nav/breadcrumb.test.tsx
index 1838a1d..8aa0d63 100644
--- a/src/components/molecules/nav/breadcrumb.test.tsx
+++ b/src/components/molecules/nav/breadcrumb.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Breadcrumb, type BreadcrumbItem } from './breadcrumb';
diff --git a/src/components/molecules/nav/nav.test.tsx b/src/components/molecules/nav/nav.test.tsx
index 37b2f41..2a6dc84 100644
--- a/src/components/molecules/nav/nav.test.tsx
+++ b/src/components/molecules/nav/nav.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Envelop, Home } from '../../atoms';
import { Nav, type NavItem } from './nav';
diff --git a/src/components/molecules/nav/pagination.test.tsx b/src/components/molecules/nav/pagination.test.tsx
index 86ba719..7662d5f 100644
--- a/src/components/molecules/nav/pagination.test.tsx
+++ b/src/components/molecules/nav/pagination.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Pagination } from './pagination';
diff --git a/src/components/molecules/tooltip/tooltip.test.tsx b/src/components/molecules/tooltip/tooltip.test.tsx
index af2c7e4..25a1614 100644
--- a/src/components/molecules/tooltip/tooltip.test.tsx
+++ b/src/components/molecules/tooltip/tooltip.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Tooltip } from './tooltip';