C pu pété

This commit is contained in:
2024-11-20 19:13:56 +01:00
parent d52ec3b949
commit e970331961
15 changed files with 47 additions and 32 deletions

View File

@@ -1,7 +1,7 @@
import './banner.css';
import '../../App.css';
import '../../src/components/banner/banner.css';
import '../../src/App.css';
import React from 'react';
import { Banner } from './banner';
import { Banner } from '../../src/components/banner/banner';
describe('<Banner />', () => {
it('renders the first Banner component correctly', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Box } from './box';
import './box.css';
import { Box } from '../../src/components/box/box';
import '../../src/components/box/box.css';
describe('<Box />', () => {
it('renders the first box', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Carousel } from './carousel';
import './carousel.css';
import { Carousel } from '../../src/components/carousel/carousel';
import '../../src/components/carousel/carousel.css';
describe('<Carousel />', () => {
it('renders the carousel with images and text', () => {

View File

@@ -1,7 +1,7 @@
import React from 'react';
import { ContactList } from './contact';
import { ContactList } from '../../src/components/contact/contact';
import { Handbag } from 'iconoir-react';
import './contact.css';
import '../../src/components/contact/contact.css';
describe('<ContactList />', () => {
it('renders the ContactList component correctly', () => {

View File

@@ -1,8 +1,8 @@
import React from 'react';
import { Navbar } from './navbar';
import { Navbar } from '../../src/layouts/navbar/navbar';
import { BrowserRouter as Router } from 'react-router-dom';
import '../../App.css';
import './navbar.css';
import '../../src/App.css';
import '../../src/layouts/navbar/navbar.css';
describe('<Navbar />', () => {
it('renders the Navbar component correctly', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Partner } from './partner';
import './partner.css';
import { Partner } from '../../src/components/partner/partner';
import '../../src/components/partner/partner.css';
describe('<Partner />', () => {
it('renders ISEN partenaire', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { SocialNetworkList } from './socialnetwork';
import './socialnetwork.css';
import { SocialNetworkList } from '../../src/components/socialnetwork/socialnetwork';
import '../../src/components/socialnetwork/socialnetwork.css';
import { FaInstagram, FaYoutube, FaGithub } from 'react-icons/fa';
describe('<SocialNetworkList />', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Team } from './team';
import './team.css';
import { Team } from '../../src/components/team/team';
import '../../src/components/team/team.css';
describe('<Team />', () => {
it('renders the team with groups and members', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { Timeline } from './timeline';
import './timeline.css';
import { Timeline } from '../../src/components/timeline/timeline';
import '../../src/components/timeline/timeline.css';
describe('<Timeline />', () => {
it('renders the Timeline component correctly', () => {

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { TimelineProject } from './timeline';
import './timeline.css';
import { TimelineProject } from '../../src/components/timeline/timeline';
import '../../src/components/timeline/timeline.css';
describe('<TimelineProject />', () => {
it('renders the TimelineProject component correctly', () => {

14
package-lock.json generated
View File

@@ -930,10 +930,9 @@
}
},
"node_modules/@eslint/plugin-kit": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.0.tgz",
"integrity": "sha512-vH9PiIMMwvhCx31Af3HiGzsVNULDbyVkHXwlemn/B0TFj/00ho3y55efXrUZTfQipxoHC5u4xq6zblww1zm1Ig==",
"license": "Apache-2.0",
"version": "0.2.3",
"resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.3.tgz",
"integrity": "sha512-2b/g5hRmpbb1o4GnTZax9N9m0FXzz9OV42ZzI4rDDMDuHUqigAiQCEWChBWCY4ztAGVRjoWT19v0yMmc5/L5kA==",
"dependencies": {
"levn": "^0.4.1"
},
@@ -2852,10 +2851,9 @@
"integrity": "sha512-3lqz5YjWTYnW6dlDa5TLaTCcShfar1e40rmcJVwCBJC6mWlFuj0eCHIElmG1g5kyuJ/GD+8Wn4FFCcz4gJPfaQ=="
},
"node_modules/cross-spawn": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
"integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==",
"license": "MIT",
"version": "7.0.6",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
"integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
"dependencies": {
"path-key": "^3.1.0",
"shebang-command": "^2.0.0",

View File

@@ -1 +1 @@
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/banner/banner.tsx","./src/components/box/box.tsx","./src/components/carousel/carousel.tsx","./src/components/contact/contact.tsx","./src/components/partner/partner.tsx","./src/components/projectcard/projectcard.tsx","./src/components/projetheader/projectheadercard.tsx","./src/components/projetheader/projetheader.tsx","./src/components/socialnetwork/socialnetwork.tsx","./src/components/team/team.tsx","./src/hooks/scrolltotop.tsx","./src/hooks/usewindowssize.tsx","./src/layouts/footer/footer.tsx","./src/layouts/navbar/navbar.tsx","./src/pages/404/404.tsx","./src/pages/contact/contact.tsx","./src/pages/home/home.tsx","./src/pages/partenaires/partenaires.tsx","./src/pages/projets/projets.tsx"],"version":"5.6.3"}
{"root":["./src/app.tsx","./src/main.tsx","./src/vite-env.d.ts","./src/components/banner/banner.tsx","./src/components/box/box.tsx","./src/components/carousel/carousel.tsx","./src/components/contact/contact.tsx","./src/components/partner/partner.tsx","./src/components/socialnetwork/socialnetwork.tsx","./src/components/team/team.tsx","./src/components/timeline/timeline.tsx","./src/hooks/scrolltotop.tsx","./src/hooks/usewindowssize.tsx","./src/layouts/footer/footer.tsx","./src/layouts/navbar/navbar.tsx","./src/pages/404/404.tsx","./src/pages/contact/contact.tsx","./src/pages/home/home.tsx","./src/pages/partenaires/partenaires.tsx","./src/pages/projets/projets.tsx"],"version":"5.6.3"}

15
tsconfig.cypress.json Normal file
View File

@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"skipLibCheck": true,
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"esModuleInterop": true,
"isolatedModules": true,
"noEmit": true,
"strict": true
},
"include": ["**/*.cy.ts", "**/*.cy.tsx"]
}

View File

@@ -18,5 +18,6 @@
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["vite.config.ts"]
"include": ["vite.config.ts"],
"exclude": ["cypress/tests/**/*"]
}

1
tsconfig.tsbuildinfo Normal file
View File

@@ -0,0 +1 @@
{"root":["./vite.config.ts"],"errors":true,"version":"5.6.3"}