Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Boris Cherny committed Oct 17, 2023
1 parent fcb90d8 commit 2ab8483
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/react/createConnectedStoreAs-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ test("it should throw if you don't give it a Provider (createConnectedStoreAs)",
return <>{stores.a.get('b')}</>
}
t.throws(() => withElement(A, _ => {}), {
message: /Cannot read property 'get' of undefined/
message: 'Cannot read properties of undefined (reading \'get\')'
})
})

0 comments on commit 2ab8483

Please sign in to comment.