Skip to content
Snippets Groups Projects
Commit f2d1611c authored by Bernard Roland (Student Com20)'s avatar Bernard Roland (Student Com20)
Browse files

Global html/body styles belong into index.scss

parent 4b4b3264
No related branches found
No related tags found
1 merge request!2WIP: Using react
import React from 'react';
import { render, screen } from '@testing-library/react';
import App from 'App';
test('app renders `Home`', () => {
render(<App />);
const linkElement = screen.getByText(/Home/i);
expect(linkElement).toBeInTheDocument();
});
......@@ -3,7 +3,6 @@ import React from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import Home from 'pages/Home';
import 'App.scss';
export default function App() {
return (
......
File moved
......@@ -5,7 +5,9 @@ import ReactDOM from 'react-dom';
import App from 'App';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
import reportWebVitals from './reportWebVitals';
import 'styles/fonts.css';
import 'index.scss';
ReactDOM.render(
<React.StrictMode>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment