-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from ChrisUser/feature/patch-2
General fixes
- Loading branch information
Showing
3 changed files
with
3 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,8 @@ | ||
import React from 'react' | ||
import { Provider } from 'react-redux' | ||
import { PersistGate } from 'redux-persist/integration/react' | ||
import RootComponent from './RootComponent' | ||
import { persistor, store } from './store/reducers/store' | ||
|
||
const App: React.FC = () => { | ||
return ( | ||
<Provider store={store}> | ||
<PersistGate loading={null} persistor={persistor}> | ||
<RootComponent /> | ||
</PersistGate> | ||
</Provider> | ||
) | ||
return <RootComponent /> | ||
} | ||
|
||
export default App |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import { render, screen } from '@testing-library/react' | ||
import HomePage from '../../pages/HomePage' | ||
|
||
test('renders hello world message', () => { | ||
test('renders app title', () => { | ||
render(<HomePage />) | ||
const greetings = screen.getByText(/Hello world/i) | ||
const greetings = screen.getByText(/GPT Recommender/i) | ||
expect(greetings).toBeInTheDocument() | ||
}) |