Skip to content

Commit ecee115

Browse files
committed
Update all files to use jsx extension
1 parent c75af1d commit ecee115

34 files changed

+17
-4
lines changed

src/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ import AppFooter from './components/shared/AppFooter';
44
import AppHeader from './components/shared/AppHeader';
55
import './css/App.css';
66
import About from './pages/AboutMe';
7-
import Contact from './pages/Contact';
7+
import Contact from './pages/Contact.jsx';
88
import Home from './pages/Home';
99
import Projects from './pages/Projects';
10-
import ProjectSingle from './pages/ProjectSingle';
10+
import ProjectSingle from './pages/ProjectSingle.jsx';
1111
import { AnimatePresence } from 'framer-motion';
1212
import UseScrollToTop from './hooks/useScrollToTop';
1313

src/__tests__/App.test.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { render, screen } from '@testing-library/react';
2+
import App from '../App';
3+
4+
test('renders learn react link', () => {
5+
render(<App />);
6+
const linkElement = screen.getByText(/learn react/i);
7+
expect(linkElement).toBeInTheDocument();
8+
});
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)