Skip to content

Commit 93a3ecd

Browse files
committed
skipping propTypes and defaultProps forwarding test
1 parent b9da1d6 commit 93a3ecd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/mobx-react/__tests__/inject.test.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ describe("inject based context", () => {
296296
expect(ref.current?.testField).toBe(1)
297297
})
298298

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

0 commit comments

Comments
 (0)