From f7cc48495b085fe8f6cfa37e80e968d5b47639df Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 1 Jun 2022 23:21:30 +0200 Subject: test: install and configure cypress I also configure Jest to avoid conflicts between Cypress and Jest. --- src/components/atoms/layout/column.test.tsx | 2 +- src/components/atoms/layout/copyright.test.tsx | 2 +- src/components/atoms/layout/main.test.tsx | 2 +- src/components/atoms/layout/no-script.test.tsx | 2 +- src/components/atoms/layout/notice.test.tsx | 2 +- src/components/atoms/layout/section.test.tsx | 2 +- src/components/atoms/layout/sidebar.test.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/components/atoms/layout') diff --git a/src/components/atoms/layout/column.test.tsx b/src/components/atoms/layout/column.test.tsx index c5c6554..95508b3 100644 --- a/src/components/atoms/layout/column.test.tsx +++ b/src/components/atoms/layout/column.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Column from './column'; const body = diff --git a/src/components/atoms/layout/copyright.test.tsx b/src/components/atoms/layout/copyright.test.tsx index 6bfe612..09392b6 100644 --- a/src/components/atoms/layout/copyright.test.tsx +++ b/src/components/atoms/layout/copyright.test.tsx @@ -1,5 +1,5 @@ import CCBySA from '@components/atoms/icons/cc-by-sa'; -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Copyright from './copyright'; const dates = { diff --git a/src/components/atoms/layout/main.test.tsx b/src/components/atoms/layout/main.test.tsx index f91846f..392fbd5 100644 --- a/src/components/atoms/layout/main.test.tsx +++ b/src/components/atoms/layout/main.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Main from './main'; const id = 'main'; diff --git a/src/components/atoms/layout/no-script.test.tsx b/src/components/atoms/layout/no-script.test.tsx index 9ed9c4c..1b9e96f 100644 --- a/src/components/atoms/layout/no-script.test.tsx +++ b/src/components/atoms/layout/no-script.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import NoScript from './no-script'; const message = 'A noscript message.'; diff --git a/src/components/atoms/layout/notice.test.tsx b/src/components/atoms/layout/notice.test.tsx index 4501f8f..8408d17 100644 --- a/src/components/atoms/layout/notice.test.tsx +++ b/src/components/atoms/layout/notice.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Notice from './notice'; const message = 'Tenetur consequuntur tempore.'; diff --git a/src/components/atoms/layout/section.test.tsx b/src/components/atoms/layout/section.test.tsx index ca5f03a..2143b70 100644 --- a/src/components/atoms/layout/section.test.tsx +++ b/src/components/atoms/layout/section.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Section from './section'; const title = 'Section title'; diff --git a/src/components/atoms/layout/sidebar.test.tsx b/src/components/atoms/layout/sidebar.test.tsx index 4c9459d..6fdb24a 100644 --- a/src/components/atoms/layout/sidebar.test.tsx +++ b/src/components/atoms/layout/sidebar.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import Sidebar from './sidebar'; const children = 'A widget'; -- cgit v1.2.3