Skip to content

Commit

Permalink
skipping propTypes and defaultProps forwarding test
Browse files Browse the repository at this point in the history
  • Loading branch information
imjordanxd committed Dec 10, 2024
1 parent b9da1d6 commit 93a3ecd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mobx-react/__tests__/inject.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ describe("inject based context", () => {
expect(ref.current?.testField).toBe(1)
})

test("propTypes and defaultProps are forwarded", () => {
// skipping because `propTypes` and `defaultProps` are dropped in React 19
test.skip("propTypes and defaultProps are forwarded", () => {
const msg: Array<string> = []
const baseError = console.error
console.error = m => msg.push(m)
Expand Down

0 comments on commit 93a3ecd

Please sign in to comment.