aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.eslintrc.cjs2
-rw-r--r--commitlint.config.cjs (renamed from commitlint.config.js)0
-rw-r--r--jest.config.js8
-rw-r--r--jest.setup.js6
-rw-r--r--lint-staged.config.js4
-rw-r--r--next-sitemap.config.cjs (renamed from next-sitemap.config.js)3
-rw-r--r--next.config.js17
-rw-r--r--package.json13
-rw-r--r--src/components/atoms/buttons/button-link.test.tsx1
-rw-r--r--src/components/atoms/buttons/button.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/boolean-field/boolean-field.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/checkbox/checkbox.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/input/input.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/radio/radio.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/select/select.test.tsx1
-rw-r--r--src/components/atoms/forms/fields/text-area/text-area.test.tsx1
-rw-r--r--src/components/atoms/forms/fieldset/fieldset.test.tsx1
-rw-r--r--src/components/atoms/forms/form/form.test.tsx1
-rw-r--r--src/components/atoms/forms/label/label.test.tsx1
-rw-r--r--src/components/atoms/forms/legend/legend.test.tsx1
-rw-r--r--src/components/atoms/headings/heading.test.tsx1
-rw-r--r--src/components/atoms/icons/arrow.test.tsx1
-rw-r--r--src/components/atoms/icons/career.test.tsx1
-rw-r--r--src/components/atoms/icons/cc-by-sa.test.tsx1
-rw-r--r--src/components/atoms/icons/close.test.tsx1
-rw-r--r--src/components/atoms/icons/cog.test.tsx1
-rw-r--r--src/components/atoms/icons/computer-screen.test.tsx1
-rw-r--r--src/components/atoms/icons/envelop.test.tsx1
-rw-r--r--src/components/atoms/icons/feed.test.tsx1
-rw-r--r--src/components/atoms/icons/hamburger.test.tsx1
-rw-r--r--src/components/atoms/icons/home.test.tsx1
-rw-r--r--src/components/atoms/icons/magnifying-glass.test.tsx1
-rw-r--r--src/components/atoms/icons/moon.test.tsx1
-rw-r--r--src/components/atoms/icons/plus-minus.test.tsx1
-rw-r--r--src/components/atoms/icons/posts-stack.test.tsx1
-rw-r--r--src/components/atoms/icons/sun.test.tsx1
-rw-r--r--src/components/atoms/images/logo.test.tsx1
-rw-r--r--src/components/atoms/layout/column.test.tsx1
-rw-r--r--src/components/atoms/layout/copyright.test.tsx1
-rw-r--r--src/components/atoms/layout/main.test.tsx1
-rw-r--r--src/components/atoms/layout/no-script.test.tsx1
-rw-r--r--src/components/atoms/layout/notice.test.tsx1
-rw-r--r--src/components/atoms/layout/section.test.tsx1
-rw-r--r--src/components/atoms/layout/sidebar.test.tsx1
-rw-r--r--src/components/atoms/links/link.test.tsx1
-rw-r--r--src/components/atoms/links/nav-link.test.tsx1
-rw-r--r--src/components/atoms/links/sharing-link.test.tsx1
-rw-r--r--src/components/atoms/links/social-link.test.tsx1
-rw-r--r--src/components/atoms/lists/description-list-group.test.tsx1
-rw-r--r--src/components/atoms/lists/description-list.test.tsx1
-rw-r--r--src/components/atoms/lists/list.test.tsx1
-rw-r--r--src/components/atoms/loaders/progress-bar.test.tsx1
-rw-r--r--src/components/atoms/loaders/spinner.test.tsx1
-rw-r--r--src/components/atoms/modal/modal.test.tsx1
-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
-rw-r--r--src/components/organisms/forms/ackee-toggle/ackee-toggle.test.tsx1
-rw-r--r--src/components/organisms/forms/comment-form/comment-form.test.tsx1
-rw-r--r--src/components/organisms/forms/contact-form/contact-form.test.tsx1
-rw-r--r--src/components/organisms/forms/motion-toggle/motion-toggle.test.tsx1
-rw-r--r--src/components/organisms/forms/prism-theme-toggle/prism-theme-toggle.test.tsx1
-rw-r--r--src/components/organisms/forms/search-form/search-form.test.tsx1
-rw-r--r--src/components/organisms/forms/theme-toggle/theme-toggle.test.tsx1
-rw-r--r--src/components/organisms/images/gallery.test.tsx1
-rw-r--r--src/components/organisms/layout/cards-list.test.tsx1
-rw-r--r--src/components/organisms/layout/comment.test.tsx1
-rw-r--r--src/components/organisms/layout/comments-list.test.tsx1
-rw-r--r--src/components/organisms/layout/footer.test.tsx1
-rw-r--r--src/components/organisms/layout/header.test.tsx1
-rw-r--r--src/components/organisms/layout/no-results.test.tsx1
-rw-r--r--src/components/organisms/layout/overview.test.tsx1
-rw-r--r--src/components/organisms/layout/posts-list.test.tsx1
-rw-r--r--src/components/organisms/layout/summary.test.tsx1
-rw-r--r--src/components/organisms/modals/search-modal.test.tsx1
-rw-r--r--src/components/organisms/modals/settings-modal.test.tsx1
-rw-r--r--src/components/organisms/toolbar/main-nav.test.tsx1
-rw-r--r--src/components/organisms/toolbar/search.test.tsx1
-rw-r--r--src/components/organisms/toolbar/settings.test.tsx1
-rw-r--r--src/components/organisms/toolbar/toolbar.test.tsx1
-rw-r--r--src/components/organisms/widgets/image-widget.test.tsx1
-rw-r--r--src/components/organisms/widgets/links-list-widget.test.tsx1
-rw-r--r--src/components/organisms/widgets/sharing.test.tsx1
-rw-r--r--src/components/organisms/widgets/social-media.test.tsx1
-rw-r--r--src/components/organisms/widgets/table-of-contents.test.tsx1
-rw-r--r--src/components/templates/layout/layout.test.tsx1
-rw-r--r--src/components/templates/page/page-layout.test.tsx1
-rw-r--r--src/components/templates/sectioned/sectioned-layout.test.tsx3
-rw-r--r--tests/jest/__mocks__/matchMedia.mock.js2
-rw-r--r--tsconfig.json2
108 files changed, 135 insertions, 24 deletions
diff --git a/.eslintrc.cjs b/.eslintrc.cjs
index af8b3d9..09a4e71 100644
--- a/.eslintrc.cjs
+++ b/.eslintrc.cjs
@@ -2,7 +2,7 @@ module.exports = {
extends: ['next/core-web-vitals', 'prettier', 'plugin:storybook/recommended'],
plugins: ['formatjs'],
parserOptions: {
- project: ['tsconfig.json'],
+ project: ['tsconfig.json', './tests/cypress/tsconfig.json'],
tsconfigRootDir: __dirname,
},
rules: {
diff --git a/commitlint.config.js b/commitlint.config.cjs
index 422b194..422b194 100644
--- a/commitlint.config.js
+++ b/commitlint.config.cjs
diff --git a/jest.config.js b/jest.config.js
index e31f939..77cabb1 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,16 +1,18 @@
-const nextJest = require('next/jest');
+import nextJest from 'next/jest.js';
const createJestConfig = nextJest({
// Provide the path to your Next.js app to load next.config.js and .env files in your test environment
dir: './',
});
-/*
+/**
* Add any custom config to be passed to Jest
*
* For a detailed explanation regarding each configuration property and type
* check, visit:
* https://jestjs.io/docs/configuration
+ *
+ * @type {import('jest').Config}
*/
const customJestConfig = {
// if using TypeScript with a baseUrl set to the root directory then you need the below for alias' to work
@@ -33,4 +35,4 @@ const customJestConfig = {
* createJestConfig is exported this way to ensure that next/jest can load the
* Next.js config which is async.
*/
-module.exports = createJestConfig(customJestConfig);
+export default createJestConfig(customJestConfig);
diff --git a/jest.setup.js b/jest.setup.js
index c8270cd..8124620 100644
--- a/jest.setup.js
+++ b/jest.setup.js
@@ -1,5 +1,7 @@
-import '@testing-library/jest-dom';
+import { jest } from '@jest/globals';
+import '@testing-library/jest-dom/jest-globals';
+import nextRouterMock from 'next-router-mock';
import './tests/jest/__mocks__/matchMedia.mock';
-jest.mock('next/dist/client/router', () => require('next-router-mock'));
+jest.mock('next/router', () => nextRouterMock);
jest.mock('next/dynamic', () => () => 'dynamic-import');
diff --git a/lint-staged.config.js b/lint-staged.config.js
index efe68ee..a7ecb80 100644
--- a/lint-staged.config.js
+++ b/lint-staged.config.js
@@ -1,7 +1,9 @@
-module.exports = {
+const config = {
'**/*.ts?(x)': () => 'tsc -p tsconfig.json --noEmit',
'**/*.(ts|tsx|js|jsx)': ['eslint --cache --fix', 'prettier --write'],
'**/*.(md|json)': 'prettier --write',
'**/*.scss': ['stylelint --fix', 'prettier --write'],
'*': ['cspell --no-must-find-files --no-progress'],
};
+
+export default config;
diff --git a/next-sitemap.config.js b/next-sitemap.config.cjs
index 348ea0b..44a2f43 100644
--- a/next-sitemap.config.js
+++ b/next-sitemap.config.cjs
@@ -1,7 +1,6 @@
-/** @type {import('next-sitemap').IConfig} */
-
const isStaging = process.env.APP_ENV === 'staging';
+/** @type {import('next-sitemap').IConfig} */
module.exports = {
siteUrl: isStaging
? process.env.NEXT_PUBLIC_STAGING_APP_URL
diff --git a/next.config.js b/next.config.js
index 27f3e6a..04802f1 100644
--- a/next.config.js
+++ b/next.config.js
@@ -1,4 +1,9 @@
-const path = require('path');
+import { dirname, join } from 'node:path';
+import { fileURLToPath } from 'node:url';
+import bundleAnalyzer from '@next/bundle-analyzer';
+import nextMDX from '@next/mdx';
+
+const currentDir = dirname(fileURLToPath(import.meta.url));
const isStaging = process.env.NEXT_PUBLIC_APP_ENV === 'staging';
const backendDomain = isStaging
@@ -106,8 +111,8 @@ const nextConfig = {
},
sassOptions: {
includePaths: [
- path.join(__dirname, 'styles'),
- path.join(__dirname, 'node_modules'),
+ join(currentDir, 'styles'),
+ join(currentDir, 'node_modules'),
],
},
webpack: (config) => {
@@ -146,11 +151,11 @@ const nextConfig = {
},
};
-const withBundleAnalyzer = require('@next/bundle-analyzer')({
+const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
});
-const withMDX = require('@next/mdx')({
+const withMDX = nextMDX({
extension: /\.mdx?$/,
options: {
remarkPlugins: [],
@@ -158,4 +163,4 @@ const withMDX = require('@next/mdx')({
},
});
-module.exports = withBundleAnalyzer(withMDX(nextConfig));
+export default withBundleAnalyzer(withMDX(nextConfig));
diff --git a/package.json b/package.json
index 018f06a..a0c8aff 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"url": "https://github.com/ArmandPhilippot/apcom/issues"
},
"private": true,
+ "type": "module",
"scripts": {
"predev": "yarn run i18n:compile",
"dev": "next dev",
@@ -34,13 +35,12 @@
"test": "yarn run test:unit && yarn run test:e2e",
"test:e2e": "cypress run",
"test:e2e:ui": "cypress open",
- "test:unit": "jest",
- "test:unit:ci": "jest --ci",
- "test:unit:coverage": "jest --coverage",
- "test:unit:watch": "jest --watch",
+ "test:unit": "yarn node --experimental-vm-modules $(yarn bin jest)",
+ "test:unit:ci": "yarn node --experimental-vm-modules $(yarn bin jest) --ci",
+ "test:unit:coverage": "yarn node --experimental-vm-modules $(yarn bin jest) --coverage",
+ "test:unit:watch": "yarn node --experimental-vm-modules $(yarn bin jest) --watch",
"storybook": "storybook dev -p 6006",
- "storybook:build": "build-storybook",
- "build-storybook": "storybook build"
+ "storybook:build": "storybook build"
},
"dependencies": {
"@formatjs/swc-plugin": "^1.5.5",
@@ -69,6 +69,7 @@
"@commitlint/config-conventional": "^17.7.0",
"@cspell/dict-fr-fr": "^2.2.2",
"@formatjs/cli": "^6.2.0",
+ "@jest/globals": "^29.7.0",
"@storybook/addon-essentials": "^7.4.2",
"@storybook/addon-interactions": "^7.4.2",
"@storybook/addon-links": "^7.4.2",
diff --git a/src/components/atoms/buttons/button-link.test.tsx b/src/components/atoms/buttons/button-link.test.tsx
index 8fabacf..8491101 100644
--- a/src/components/atoms/buttons/button-link.test.tsx
+++ b/src/components/atoms/buttons/button-link.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { ButtonLink } from './button-link';
diff --git a/src/components/atoms/buttons/button.test.tsx b/src/components/atoms/buttons/button.test.tsx
index 1162b2b..b6bfc5d 100644
--- a/src/components/atoms/buttons/button.test.tsx
+++ b/src/components/atoms/buttons/button.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Button } from './button';
diff --git a/src/components/atoms/forms/fields/boolean-field/boolean-field.test.tsx b/src/components/atoms/forms/fields/boolean-field/boolean-field.test.tsx
index fcd15ad..1c7fe36 100644
--- a/src/components/atoms/forms/fields/boolean-field/boolean-field.test.tsx
+++ b/src/components/atoms/forms/fields/boolean-field/boolean-field.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { BooleanField } from './boolean-field';
diff --git a/src/components/atoms/forms/fields/checkbox/checkbox.test.tsx b/src/components/atoms/forms/fields/checkbox/checkbox.test.tsx
index 658799a..59f9a4b 100644
--- a/src/components/atoms/forms/fields/checkbox/checkbox.test.tsx
+++ b/src/components/atoms/forms/fields/checkbox/checkbox.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { Checkbox } from './checkbox';
diff --git a/src/components/atoms/forms/fields/input/input.test.tsx b/src/components/atoms/forms/fields/input/input.test.tsx
index 1692c9e..a5c4898 100644
--- a/src/components/atoms/forms/fields/input/input.test.tsx
+++ b/src/components/atoms/forms/fields/input/input.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { Input } from './input';
diff --git a/src/components/atoms/forms/fields/radio/radio.test.tsx b/src/components/atoms/forms/fields/radio/radio.test.tsx
index 42df991..ba8d68f 100644
--- a/src/components/atoms/forms/fields/radio/radio.test.tsx
+++ b/src/components/atoms/forms/fields/radio/radio.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { Radio } from './radio';
diff --git a/src/components/atoms/forms/fields/select/select.test.tsx b/src/components/atoms/forms/fields/select/select.test.tsx
index 088cc9e..ae76c45 100644
--- a/src/components/atoms/forms/fields/select/select.test.tsx
+++ b/src/components/atoms/forms/fields/select/select.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { Select } from './select';
diff --git a/src/components/atoms/forms/fields/text-area/text-area.test.tsx b/src/components/atoms/forms/fields/text-area/text-area.test.tsx
index 37a1d1c..0079440 100644
--- a/src/components/atoms/forms/fields/text-area/text-area.test.tsx
+++ b/src/components/atoms/forms/fields/text-area/text-area.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../../tests/utils';
import { TextArea } from './text-area';
diff --git a/src/components/atoms/forms/fieldset/fieldset.test.tsx b/src/components/atoms/forms/fieldset/fieldset.test.tsx
index 08a0aaa..2554d59 100644
--- a/src/components/atoms/forms/fieldset/fieldset.test.tsx
+++ b/src/components/atoms/forms/fieldset/fieldset.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Input } from '../fields';
import { Fieldset } from './fieldset';
diff --git a/src/components/atoms/forms/form/form.test.tsx b/src/components/atoms/forms/form/form.test.tsx
index 08165f5..217b7f6 100644
--- a/src/components/atoms/forms/form/form.test.tsx
+++ b/src/components/atoms/forms/form/form.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Form } from './form';
diff --git a/src/components/atoms/forms/label/label.test.tsx b/src/components/atoms/forms/label/label.test.tsx
index afdbb94..710c80c 100644
--- a/src/components/atoms/forms/label/label.test.tsx
+++ b/src/components/atoms/forms/label/label.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Label } from './label';
diff --git a/src/components/atoms/forms/legend/legend.test.tsx b/src/components/atoms/forms/legend/legend.test.tsx
index 7abb996..fc759f7 100644
--- a/src/components/atoms/forms/legend/legend.test.tsx
+++ b/src/components/atoms/forms/legend/legend.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { Fieldset } from '../fieldset';
import { Legend } from './legend';
diff --git a/src/components/atoms/headings/heading.test.tsx b/src/components/atoms/headings/heading.test.tsx
index 636fae0..61d7f8e 100644
--- a/src/components/atoms/headings/heading.test.tsx
+++ b/src/components/atoms/headings/heading.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Heading } from './heading';
diff --git a/src/components/atoms/icons/arrow.test.tsx b/src/components/atoms/icons/arrow.test.tsx
index ed1d1e2..3fedf9b 100644
--- a/src/components/atoms/icons/arrow.test.tsx
+++ b/src/components/atoms/icons/arrow.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Arrow } from './arrow';
diff --git a/src/components/atoms/icons/career.test.tsx b/src/components/atoms/icons/career.test.tsx
index 7e53f6e..27754a8 100644
--- a/src/components/atoms/icons/career.test.tsx
+++ b/src/components/atoms/icons/career.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Career } from './career';
diff --git a/src/components/atoms/icons/cc-by-sa.test.tsx b/src/components/atoms/icons/cc-by-sa.test.tsx
index a23059d..7e81835 100644
--- a/src/components/atoms/icons/cc-by-sa.test.tsx
+++ b/src/components/atoms/icons/cc-by-sa.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { CCBySA } from './cc-by-sa';
diff --git a/src/components/atoms/icons/close.test.tsx b/src/components/atoms/icons/close.test.tsx
index 058b793..b2f325c 100644
--- a/src/components/atoms/icons/close.test.tsx
+++ b/src/components/atoms/icons/close.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Close } from './close';
diff --git a/src/components/atoms/icons/cog.test.tsx b/src/components/atoms/icons/cog.test.tsx
index 016ef15..f4ea71b 100644
--- a/src/components/atoms/icons/cog.test.tsx
+++ b/src/components/atoms/icons/cog.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Cog } from './cog';
diff --git a/src/components/atoms/icons/computer-screen.test.tsx b/src/components/atoms/icons/computer-screen.test.tsx
index d74933a..5a61c9b 100644
--- a/src/components/atoms/icons/computer-screen.test.tsx
+++ b/src/components/atoms/icons/computer-screen.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { ComputerScreen } from './computer-screen';
diff --git a/src/components/atoms/icons/envelop.test.tsx b/src/components/atoms/icons/envelop.test.tsx
index 1829fe2..82ed575 100644
--- a/src/components/atoms/icons/envelop.test.tsx
+++ b/src/components/atoms/icons/envelop.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Envelop } from './envelop';
diff --git a/src/components/atoms/icons/feed.test.tsx b/src/components/atoms/icons/feed.test.tsx
index ca6f331..5a91483 100644
--- a/src/components/atoms/icons/feed.test.tsx
+++ b/src/components/atoms/icons/feed.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Feed } from './feed';
diff --git a/src/components/atoms/icons/hamburger.test.tsx b/src/components/atoms/icons/hamburger.test.tsx
index b208a42..d7a17b6 100644
--- a/src/components/atoms/icons/hamburger.test.tsx
+++ b/src/components/atoms/icons/hamburger.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Hamburger } from './hamburger';
diff --git a/src/components/atoms/icons/home.test.tsx b/src/components/atoms/icons/home.test.tsx
index 2fbe42f..e7d03d9 100644
--- a/src/components/atoms/icons/home.test.tsx
+++ b/src/components/atoms/icons/home.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Home } from './home';
diff --git a/src/components/atoms/icons/magnifying-glass.test.tsx b/src/components/atoms/icons/magnifying-glass.test.tsx
index 4e2f449..5cff75b 100644
--- a/src/components/atoms/icons/magnifying-glass.test.tsx
+++ b/src/components/atoms/icons/magnifying-glass.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { MagnifyingGlass } from './magnifying-glass';
diff --git a/src/components/atoms/icons/moon.test.tsx b/src/components/atoms/icons/moon.test.tsx
index 3c1021a..b164ecd 100644
--- a/src/components/atoms/icons/moon.test.tsx
+++ b/src/components/atoms/icons/moon.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Moon } from './moon';
diff --git a/src/components/atoms/icons/plus-minus.test.tsx b/src/components/atoms/icons/plus-minus.test.tsx
index 174f8e1..6307401 100644
--- a/src/components/atoms/icons/plus-minus.test.tsx
+++ b/src/components/atoms/icons/plus-minus.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { PlusMinus } from './plus-minus';
diff --git a/src/components/atoms/icons/posts-stack.test.tsx b/src/components/atoms/icons/posts-stack.test.tsx
index 3728d1e..068fbea 100644
--- a/src/components/atoms/icons/posts-stack.test.tsx
+++ b/src/components/atoms/icons/posts-stack.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { PostsStack } from './posts-stack';
diff --git a/src/components/atoms/icons/sun.test.tsx b/src/components/atoms/icons/sun.test.tsx
index 8a43221..2aa916b 100644
--- a/src/components/atoms/icons/sun.test.tsx
+++ b/src/components/atoms/icons/sun.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { Sun } from './sun';
diff --git a/src/components/atoms/images/logo.test.tsx b/src/components/atoms/images/logo.test.tsx
index 81aec3a..06301d0 100644
--- a/src/components/atoms/images/logo.test.tsx
+++ b/src/components/atoms/images/logo.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Logo } from './logo';
diff --git a/src/components/atoms/layout/column.test.tsx b/src/components/atoms/layout/column.test.tsx
index fd3c9e7..7e747c6 100644
--- a/src/components/atoms/layout/column.test.tsx
+++ b/src/components/atoms/layout/column.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Column } from './column';
diff --git a/src/components/atoms/layout/copyright.test.tsx b/src/components/atoms/layout/copyright.test.tsx
index 3631545..1e2230c 100644
--- a/src/components/atoms/layout/copyright.test.tsx
+++ b/src/components/atoms/layout/copyright.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { CCBySA } from '../icons';
import { Copyright } from './copyright';
diff --git a/src/components/atoms/layout/main.test.tsx b/src/components/atoms/layout/main.test.tsx
index f6b8064..58dc660 100644
--- a/src/components/atoms/layout/main.test.tsx
+++ b/src/components/atoms/layout/main.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Main } from './main';
diff --git a/src/components/atoms/layout/no-script.test.tsx b/src/components/atoms/layout/no-script.test.tsx
index 3f6b79c..b737d7e 100644
--- a/src/components/atoms/layout/no-script.test.tsx
+++ b/src/components/atoms/layout/no-script.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { NoScript } from './no-script';
diff --git a/src/components/atoms/layout/notice.test.tsx b/src/components/atoms/layout/notice.test.tsx
index 16c530d..f5213e4 100644
--- a/src/components/atoms/layout/notice.test.tsx
+++ b/src/components/atoms/layout/notice.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Notice } from './notice';
diff --git a/src/components/atoms/layout/section.test.tsx b/src/components/atoms/layout/section.test.tsx
index c81a0a0..6a2805d 100644
--- a/src/components/atoms/layout/section.test.tsx
+++ b/src/components/atoms/layout/section.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Section } from './section';
diff --git a/src/components/atoms/layout/sidebar.test.tsx b/src/components/atoms/layout/sidebar.test.tsx
index e2c15c3..12b2f61 100644
--- a/src/components/atoms/layout/sidebar.test.tsx
+++ b/src/components/atoms/layout/sidebar.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Sidebar } from './sidebar';
diff --git a/src/components/atoms/links/link.test.tsx b/src/components/atoms/links/link.test.tsx
index e3c005f..9829c1b 100644
--- a/src/components/atoms/links/link.test.tsx
+++ b/src/components/atoms/links/link.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Link } from './link';
diff --git a/src/components/atoms/links/nav-link.test.tsx b/src/components/atoms/links/nav-link.test.tsx
index be0cd50..acf3225 100644
--- a/src/components/atoms/links/nav-link.test.tsx
+++ b/src/components/atoms/links/nav-link.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { NavLink } from './nav-link';
diff --git a/src/components/atoms/links/sharing-link.test.tsx b/src/components/atoms/links/sharing-link.test.tsx
index 63fb4f5..87375a9 100644
--- a/src/components/atoms/links/sharing-link.test.tsx
+++ b/src/components/atoms/links/sharing-link.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { SharingLink } from './sharing-link';
diff --git a/src/components/atoms/links/social-link.test.tsx b/src/components/atoms/links/social-link.test.tsx
index 1aca4e3..d2609ca 100644
--- a/src/components/atoms/links/social-link.test.tsx
+++ b/src/components/atoms/links/social-link.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { SocialLink } from './social-link';
diff --git a/src/components/atoms/lists/description-list-group.test.tsx b/src/components/atoms/lists/description-list-group.test.tsx
index 4e665e0..205dad5 100644
--- a/src/components/atoms/lists/description-list-group.test.tsx
+++ b/src/components/atoms/lists/description-list-group.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { DescriptionListGroup } from './description-list-group';
diff --git a/src/components/atoms/lists/description-list.test.tsx b/src/components/atoms/lists/description-list.test.tsx
index 6190c5c..2af92e2 100644
--- a/src/components/atoms/lists/description-list.test.tsx
+++ b/src/components/atoms/lists/description-list.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { DescriptionList, DescriptionListItem } from './description-list';
diff --git a/src/components/atoms/lists/list.test.tsx b/src/components/atoms/lists/list.test.tsx
index 18ffed2..89de922 100644
--- a/src/components/atoms/lists/list.test.tsx
+++ b/src/components/atoms/lists/list.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { List, type ListItem } from './list';
diff --git a/src/components/atoms/loaders/progress-bar.test.tsx b/src/components/atoms/loaders/progress-bar.test.tsx
index be4d2c1..6b01b68 100644
--- a/src/components/atoms/loaders/progress-bar.test.tsx
+++ b/src/components/atoms/loaders/progress-bar.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { ProgressBar } from './progress-bar';
import { current, id, label, max, min } from './progress-bar.fixture';
diff --git a/src/components/atoms/loaders/spinner.test.tsx b/src/components/atoms/loaders/spinner.test.tsx
index cb0d8e2..553c3ef 100644
--- a/src/components/atoms/loaders/spinner.test.tsx
+++ b/src/components/atoms/loaders/spinner.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Spinner } from './spinner';
diff --git a/src/components/atoms/modal/modal.test.tsx b/src/components/atoms/modal/modal.test.tsx
index 5f32d02..6e7d29e 100644
--- a/src/components/atoms/modal/modal.test.tsx
+++ b/src/components/atoms/modal/modal.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Heading } from '../headings';
import { Modal } from './modal';
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';
diff --git a/src/components/organisms/forms/ackee-toggle/ackee-toggle.test.tsx b/src/components/organisms/forms/ackee-toggle/ackee-toggle.test.tsx
index 7784d5f..f7400f3 100644
--- a/src/components/organisms/forms/ackee-toggle/ackee-toggle.test.tsx
+++ b/src/components/organisms/forms/ackee-toggle/ackee-toggle.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { AckeeToggle } from './ackee-toggle';
import { storageKey } from './ackee-toggle.fixture';
diff --git a/src/components/organisms/forms/comment-form/comment-form.test.tsx b/src/components/organisms/forms/comment-form/comment-form.test.tsx
index 8aa38af..ca02edc 100644
--- a/src/components/organisms/forms/comment-form/comment-form.test.tsx
+++ b/src/components/organisms/forms/comment-form/comment-form.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { CommentForm } from './comment-form';
diff --git a/src/components/organisms/forms/contact-form/contact-form.test.tsx b/src/components/organisms/forms/contact-form/contact-form.test.tsx
index 59d69fa..d788e09 100644
--- a/src/components/organisms/forms/contact-form/contact-form.test.tsx
+++ b/src/components/organisms/forms/contact-form/contact-form.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { ContactForm } from './contact-form';
diff --git a/src/components/organisms/forms/motion-toggle/motion-toggle.test.tsx b/src/components/organisms/forms/motion-toggle/motion-toggle.test.tsx
index 614c038..abae299 100644
--- a/src/components/organisms/forms/motion-toggle/motion-toggle.test.tsx
+++ b/src/components/organisms/forms/motion-toggle/motion-toggle.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { MotionToggle } from './motion-toggle';
import { storageKey } from './motion-toggle.fixture';
diff --git a/src/components/organisms/forms/prism-theme-toggle/prism-theme-toggle.test.tsx b/src/components/organisms/forms/prism-theme-toggle/prism-theme-toggle.test.tsx
index f29418e..7c72797 100644
--- a/src/components/organisms/forms/prism-theme-toggle/prism-theme-toggle.test.tsx
+++ b/src/components/organisms/forms/prism-theme-toggle/prism-theme-toggle.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { PrismThemeToggle } from './prism-theme-toggle';
diff --git a/src/components/organisms/forms/search-form/search-form.test.tsx b/src/components/organisms/forms/search-form/search-form.test.tsx
index b53b9cf..1af0a47 100644
--- a/src/components/organisms/forms/search-form/search-form.test.tsx
+++ b/src/components/organisms/forms/search-form/search-form.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { SearchForm } from './search-form';
diff --git a/src/components/organisms/forms/theme-toggle/theme-toggle.test.tsx b/src/components/organisms/forms/theme-toggle/theme-toggle.test.tsx
index 9f37a26..9f8e4e1 100644
--- a/src/components/organisms/forms/theme-toggle/theme-toggle.test.tsx
+++ b/src/components/organisms/forms/theme-toggle/theme-toggle.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../../tests/utils';
import { ThemeToggle } from './theme-toggle';
diff --git a/src/components/organisms/images/gallery.test.tsx b/src/components/organisms/images/gallery.test.tsx
index 6fb7567..ea39348 100644
--- a/src/components/organisms/images/gallery.test.tsx
+++ b/src/components/organisms/images/gallery.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { ResponsiveImage } from '../../molecules';
import { Gallery } from './gallery';
diff --git a/src/components/organisms/layout/cards-list.test.tsx b/src/components/organisms/layout/cards-list.test.tsx
index 968a349..751a502 100644
--- a/src/components/organisms/layout/cards-list.test.tsx
+++ b/src/components/organisms/layout/cards-list.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { CardsList, type CardsListItem } from './cards-list';
diff --git a/src/components/organisms/layout/comment.test.tsx b/src/components/organisms/layout/comment.test.tsx
index 6414371..1aa9e4a 100644
--- a/src/components/organisms/layout/comment.test.tsx
+++ b/src/components/organisms/layout/comment.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Comment } from './comment';
import {
diff --git a/src/components/organisms/layout/comments-list.test.tsx b/src/components/organisms/layout/comments-list.test.tsx
index 0518425..f245ebb 100644
--- a/src/components/organisms/layout/comments-list.test.tsx
+++ b/src/components/organisms/layout/comments-list.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render } from '../../../../tests/utils';
import { saveComment } from './comment.fixture';
import { CommentsList } from './comments-list';
diff --git a/src/components/organisms/layout/footer.test.tsx b/src/components/organisms/layout/footer.test.tsx
index f513739..51f21fb 100644
--- a/src/components/organisms/layout/footer.test.tsx
+++ b/src/components/organisms/layout/footer.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Footer, type FooterProps } from './footer';
diff --git a/src/components/organisms/layout/header.test.tsx b/src/components/organisms/layout/header.test.tsx
index 78df341..7f72f24 100644
--- a/src/components/organisms/layout/header.test.tsx
+++ b/src/components/organisms/layout/header.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Header } from './header';
diff --git a/src/components/organisms/layout/no-results.test.tsx b/src/components/organisms/layout/no-results.test.tsx
index 914b2db..85f60cf 100644
--- a/src/components/organisms/layout/no-results.test.tsx
+++ b/src/components/organisms/layout/no-results.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { NoResults } from './no-results';
diff --git a/src/components/organisms/layout/overview.test.tsx b/src/components/organisms/layout/overview.test.tsx
index 25c1c26..0f2af7b 100644
--- a/src/components/organisms/layout/overview.test.tsx
+++ b/src/components/organisms/layout/overview.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Overview, type OverviewMeta } from './overview';
diff --git a/src/components/organisms/layout/posts-list.test.tsx b/src/components/organisms/layout/posts-list.test.tsx
index 41a8679..d5273fc 100644
--- a/src/components/organisms/layout/posts-list.test.tsx
+++ b/src/components/organisms/layout/posts-list.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { PostsList } from './posts-list';
import { posts, searchPage } from './posts-list.fixture';
diff --git a/src/components/organisms/layout/summary.test.tsx b/src/components/organisms/layout/summary.test.tsx
index 607d676..3e58e9a 100644
--- a/src/components/organisms/layout/summary.test.tsx
+++ b/src/components/organisms/layout/summary.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Summary } from './summary';
import { cover, intro, meta, title, url } from './summary.fixture';
diff --git a/src/components/organisms/modals/search-modal.test.tsx b/src/components/organisms/modals/search-modal.test.tsx
index 9629648..a9e1ece 100644
--- a/src/components/organisms/modals/search-modal.test.tsx
+++ b/src/components/organisms/modals/search-modal.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { SearchModal } from './search-modal';
diff --git a/src/components/organisms/modals/settings-modal.test.tsx b/src/components/organisms/modals/settings-modal.test.tsx
index 3cd64f6..bb0cdf2 100644
--- a/src/components/organisms/modals/settings-modal.test.tsx
+++ b/src/components/organisms/modals/settings-modal.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { storageKey as ackeeStorageKey } from '../../organisms/forms/ackee-toggle/ackee-toggle.fixture';
import { storageKey as motionStorageKey } from '../../organisms/forms/motion-toggle/motion-toggle.fixture';
diff --git a/src/components/organisms/toolbar/main-nav.test.tsx b/src/components/organisms/toolbar/main-nav.test.tsx
index 12f30ce..054a14e 100644
--- a/src/components/organisms/toolbar/main-nav.test.tsx
+++ b/src/components/organisms/toolbar/main-nav.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { MainNav } from './main-nav';
diff --git a/src/components/organisms/toolbar/search.test.tsx b/src/components/organisms/toolbar/search.test.tsx
index 625dd4b..6f5ed7e 100644
--- a/src/components/organisms/toolbar/search.test.tsx
+++ b/src/components/organisms/toolbar/search.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Search } from './search';
diff --git a/src/components/organisms/toolbar/settings.test.tsx b/src/components/organisms/toolbar/settings.test.tsx
index d4e542d..9dab407 100644
--- a/src/components/organisms/toolbar/settings.test.tsx
+++ b/src/components/organisms/toolbar/settings.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Settings } from './settings';
diff --git a/src/components/organisms/toolbar/toolbar.test.tsx b/src/components/organisms/toolbar/toolbar.test.tsx
index 62020dc..8fb06b0 100644
--- a/src/components/organisms/toolbar/toolbar.test.tsx
+++ b/src/components/organisms/toolbar/toolbar.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Toolbar } from './toolbar';
diff --git a/src/components/organisms/widgets/image-widget.test.tsx b/src/components/organisms/widgets/image-widget.test.tsx
index 4a0f29f..7f3ccd8 100644
--- a/src/components/organisms/widgets/image-widget.test.tsx
+++ b/src/components/organisms/widgets/image-widget.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { ImageWidget } from './image-widget';
diff --git a/src/components/organisms/widgets/links-list-widget.test.tsx b/src/components/organisms/widgets/links-list-widget.test.tsx
index 9d3f975..2d36eb5 100644
--- a/src/components/organisms/widgets/links-list-widget.test.tsx
+++ b/src/components/organisms/widgets/links-list-widget.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { LinksListWidget } from './links-list-widget';
diff --git a/src/components/organisms/widgets/sharing.test.tsx b/src/components/organisms/widgets/sharing.test.tsx
index 50f92e3..40d2a2c 100644
--- a/src/components/organisms/widgets/sharing.test.tsx
+++ b/src/components/organisms/widgets/sharing.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Sharing, type SharingData } from './sharing';
diff --git a/src/components/organisms/widgets/social-media.test.tsx b/src/components/organisms/widgets/social-media.test.tsx
index 7bb1a07..c0786ad 100644
--- a/src/components/organisms/widgets/social-media.test.tsx
+++ b/src/components/organisms/widgets/social-media.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { SocialMedia, Media } from './social-media';
diff --git a/src/components/organisms/widgets/table-of-contents.test.tsx b/src/components/organisms/widgets/table-of-contents.test.tsx
index 32ff4ad..f0917b8 100644
--- a/src/components/organisms/widgets/table-of-contents.test.tsx
+++ b/src/components/organisms/widgets/table-of-contents.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { TableOfContents } from './table-of-contents';
diff --git a/src/components/templates/layout/layout.test.tsx b/src/components/templates/layout/layout.test.tsx
index 53d16e3..6a257f0 100644
--- a/src/components/templates/layout/layout.test.tsx
+++ b/src/components/templates/layout/layout.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { render, screen } from '../../../../tests/utils';
import { Layout } from './layout';
diff --git a/src/components/templates/page/page-layout.test.tsx b/src/components/templates/page/page-layout.test.tsx
index 9293c12..d21e14c 100644
--- a/src/components/templates/page/page-layout.test.tsx
+++ b/src/components/templates/page/page-layout.test.tsx
@@ -1,3 +1,4 @@
+import { describe, expect, it } from '@jest/globals';
import { BreadcrumbList } from 'schema-dts';
import { render, screen } from '../../../../tests/utils';
import { comments } from '../../organisms/layout/comments-list.fixture';
diff --git a/src/components/templates/sectioned/sectioned-layout.test.tsx b/src/components/templates/sectioned/sectioned-layout.test.tsx
index 204f0d4..2370337 100644
--- a/src/components/templates/sectioned/sectioned-layout.test.tsx
+++ b/src/components/templates/sectioned/sectioned-layout.test.tsx
@@ -1,5 +1,6 @@
-import { render, screen } from '../../../../tests/utils';
+import { describe, expect, it } from '@jest/globals';
import { BreadcrumbList } from 'schema-dts';
+import { render, screen } from '../../../../tests/utils';
import { SectionedLayout } from './sectioned-layout';
const breadcrumbSchema: BreadcrumbList['itemListElement'][] = [];
diff --git a/tests/jest/__mocks__/matchMedia.mock.js b/tests/jest/__mocks__/matchMedia.mock.js
index a983ad3..35381c4 100644
--- a/tests/jest/__mocks__/matchMedia.mock.js
+++ b/tests/jest/__mocks__/matchMedia.mock.js
@@ -1,3 +1,5 @@
+import { jest } from '@jest/globals';
+
Object.defineProperty(window, 'matchMedia', {
writable: true,
value: jest.fn().mockImplementation((query) => ({
diff --git a/tsconfig.json b/tsconfig.json
index 6875658..c348299 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -14,7 +14,7 @@
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
- "types": ["jest", "@testing-library/jest-dom"],
+ "types": ["jest", "@testing-library/jest-dom/jest-globals"],
"baseUrl": "."
},
"include": [