Skip to content

Commit

Permalink
Merge pull request #4 from ChrisUser/feature/patch-2
Browse files Browse the repository at this point in the history
General fixes
  • Loading branch information
ChrisUser authored Feb 11, 2023
2 parents 7ba8065 + 13d58e3 commit 6082894
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 20 deletions.
11 changes: 1 addition & 10 deletions src/App.tsx
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
8 changes: 0 additions & 8 deletions src/tests/components/DateDisplay.test.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/tests/pages/HomePage.test.tsx
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()
})

0 comments on commit 6082894

Please sign in to comment.