Skip to content

Commit

Permalink
fixed typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
overthemike committed Oct 24, 2024
1 parent e9d75ad commit 660866e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/proxyMap.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ describe('ui updates - useSnapshot', async () => {

return (
<>
<p>has key1: {`${snap.has('key')}`}</p>
<p>has key: {`${snap.has('key')}`}</p>
<button onClick={() => state.set('key', 'value')}>set key</button>
<button onClick={() => state.delete('key')}>delete key</button>
</>
Expand All @@ -399,7 +399,7 @@ describe('ui updates - useSnapshot', async () => {
)

await waitFor(() => {
getByText('has key1: false')
getByText('has key: false')
})

fireEvent.click(getByText('set key'))
Expand Down

0 comments on commit 660866e

Please sign in to comment.