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/icons/arrow.test.tsx | 2 +- src/components/atoms/icons/career.test.tsx | 2 +- src/components/atoms/icons/cc-by-sa.test.tsx | 2 +- src/components/atoms/icons/close.test.tsx | 2 +- src/components/atoms/icons/cog.test.tsx | 2 +- src/components/atoms/icons/computer-screen.test.tsx | 2 +- src/components/atoms/icons/envelop.test.tsx | 2 +- src/components/atoms/icons/feed.test.tsx | 2 +- src/components/atoms/icons/hamburger.test.tsx | 2 +- src/components/atoms/icons/home.test.tsx | 2 +- src/components/atoms/icons/magnifying-glass.test.tsx | 2 +- src/components/atoms/icons/moon.test.tsx | 2 +- src/components/atoms/icons/plus-minus.test.tsx | 2 +- src/components/atoms/icons/posts-stack.test.tsx | 2 +- src/components/atoms/icons/sun.test.tsx | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) (limited to 'src/components/atoms/icons') diff --git a/src/components/atoms/icons/arrow.test.tsx b/src/components/atoms/icons/arrow.test.tsx index 502dcc1..60a1679 100644 --- a/src/components/atoms/icons/arrow.test.tsx +++ b/src/components/atoms/icons/arrow.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Arrow from './arrow'; describe('Arrow', () => { diff --git a/src/components/atoms/icons/career.test.tsx b/src/components/atoms/icons/career.test.tsx index 62ffc14..3eb9bc8 100644 --- a/src/components/atoms/icons/career.test.tsx +++ b/src/components/atoms/icons/career.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Career from './career'; describe('Career', () => { diff --git a/src/components/atoms/icons/cc-by-sa.test.tsx b/src/components/atoms/icons/cc-by-sa.test.tsx index adb03e4..cb05492 100644 --- a/src/components/atoms/icons/cc-by-sa.test.tsx +++ b/src/components/atoms/icons/cc-by-sa.test.tsx @@ -1,4 +1,4 @@ -import { render, screen } from '@test-utils'; +import { render, screen } from '@tests/utils'; import CCBySA from './cc-by-sa'; describe('CCBySA', () => { diff --git a/src/components/atoms/icons/close.test.tsx b/src/components/atoms/icons/close.test.tsx index 0357bec..658af9a 100644 --- a/src/components/atoms/icons/close.test.tsx +++ b/src/components/atoms/icons/close.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Close from './close'; describe('Close', () => { diff --git a/src/components/atoms/icons/cog.test.tsx b/src/components/atoms/icons/cog.test.tsx index 89090fa..1ce7f28 100644 --- a/src/components/atoms/icons/cog.test.tsx +++ b/src/components/atoms/icons/cog.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Cog from './cog'; describe('Cog', () => { diff --git a/src/components/atoms/icons/computer-screen.test.tsx b/src/components/atoms/icons/computer-screen.test.tsx index c0e53e0..0fb73c4 100644 --- a/src/components/atoms/icons/computer-screen.test.tsx +++ b/src/components/atoms/icons/computer-screen.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import ComputerScreen from './computer-screen'; describe('ComputerScreen', () => { diff --git a/src/components/atoms/icons/envelop.test.tsx b/src/components/atoms/icons/envelop.test.tsx index 072dc85..b25a977 100644 --- a/src/components/atoms/icons/envelop.test.tsx +++ b/src/components/atoms/icons/envelop.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Envelop from './envelop'; describe('Envelop', () => { diff --git a/src/components/atoms/icons/feed.test.tsx b/src/components/atoms/icons/feed.test.tsx index fed9da9..fa24106 100644 --- a/src/components/atoms/icons/feed.test.tsx +++ b/src/components/atoms/icons/feed.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Feed from './feed'; describe('Feed', () => { diff --git a/src/components/atoms/icons/hamburger.test.tsx b/src/components/atoms/icons/hamburger.test.tsx index 7173a23..5ce6733 100644 --- a/src/components/atoms/icons/hamburger.test.tsx +++ b/src/components/atoms/icons/hamburger.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Hamburger from './hamburger'; describe('Hamburger', () => { diff --git a/src/components/atoms/icons/home.test.tsx b/src/components/atoms/icons/home.test.tsx index a08a3cf..3688501 100644 --- a/src/components/atoms/icons/home.test.tsx +++ b/src/components/atoms/icons/home.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Home from './home'; describe('Home', () => { diff --git a/src/components/atoms/icons/magnifying-glass.test.tsx b/src/components/atoms/icons/magnifying-glass.test.tsx index 8e788f7..2c031f3 100644 --- a/src/components/atoms/icons/magnifying-glass.test.tsx +++ b/src/components/atoms/icons/magnifying-glass.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import MagnifyingGlass from './magnifying-glass'; describe('MagnifyingGlass', () => { diff --git a/src/components/atoms/icons/moon.test.tsx b/src/components/atoms/icons/moon.test.tsx index 1c96303..18581e9 100644 --- a/src/components/atoms/icons/moon.test.tsx +++ b/src/components/atoms/icons/moon.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Moon from './moon'; describe('Moon', () => { diff --git a/src/components/atoms/icons/plus-minus.test.tsx b/src/components/atoms/icons/plus-minus.test.tsx index 6903c7a..895a565 100644 --- a/src/components/atoms/icons/plus-minus.test.tsx +++ b/src/components/atoms/icons/plus-minus.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import PlusMinus from './plus-minus'; describe('PlusMinus', () => { diff --git a/src/components/atoms/icons/posts-stack.test.tsx b/src/components/atoms/icons/posts-stack.test.tsx index 8f44fa9..89064c7 100644 --- a/src/components/atoms/icons/posts-stack.test.tsx +++ b/src/components/atoms/icons/posts-stack.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import PostsStack from './posts-stack'; describe('PostsStack', () => { diff --git a/src/components/atoms/icons/sun.test.tsx b/src/components/atoms/icons/sun.test.tsx index 21661a9..fe01f4f 100644 --- a/src/components/atoms/icons/sun.test.tsx +++ b/src/components/atoms/icons/sun.test.tsx @@ -1,4 +1,4 @@ -import { render } from '@test-utils'; +import { render } from '@tests/utils'; import Sun from './sun'; describe('Sun', () => { -- cgit v1.2.3