Skip to content

Commit

Permalink
fix(tes): test
Browse files Browse the repository at this point in the history
  • Loading branch information
saithsab877 committed Sep 17, 2024
1 parent 6656981 commit d352f68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/App/SideBar/__tests__/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { ThemeProvider } from '@mui/material'
import '@testing-library/jest-dom'
import { fireEvent, render, screen, waitFor } from '@testing-library/react'
import React from 'react'
import { ThemeProvider as StyleThemeProvider } from 'styled-components'
import { MemoryRouter } from 'react-router-dom'
import { ThemeProvider as StyleThemeProvider } from 'styled-components'
import { SideBar } from '..'
import { api } from '../../../../network/api'
import { AppStore, useAppStore } from '../../../../stores/useAppStore'
Expand Down Expand Up @@ -120,7 +120,7 @@ describe('Test SideBar', () => {
expect(container.querySelector('#sidebar-wrapper')).toBeInTheDocument()
})

it('Test that typing into the search bar updates the search term in the application state.', () => {
it('Test that typing into the searchs bar updates the search term in the application state.', () => {
const [setCurrentSearchMock, onSubmitMock] = [jest.fn(), jest.fn()]

useAppStoreMock.mockReturnValue({
Expand Down

0 comments on commit d352f68

Please sign in to comment.