Update tests

This commit is contained in:
Paul Frazee
2023-01-17 10:11:20 -06:00
parent c6f2465ba4
commit 7a8304131b
-10
View File
@@ -57,14 +57,4 @@ describe('Menu', () => {
expect(onCloseMock).toHaveBeenCalled()
expect(mockedNavigationStore.switchTo).toHaveBeenCalledWith(1, true)
})
it('presses new scene button', () => {
const {getAllByTestId} = render(<Menu {...mockedProps} />)
const menuItemButton = getAllByTestId('menuItemButton')
fireEvent.press(menuItemButton[3])
expect(onCloseMock).toHaveBeenCalled()
expect(mockedShellStore.openModal).toHaveBeenCalled()
})
})