diff --git a/packages/mobx-react/__tests__/stateless.test.tsx b/packages/mobx-react/__tests__/stateless.test.tsx index 6ff32d589..febffeece 100644 --- a/packages/mobx-react/__tests__/stateless.test.tsx +++ b/packages/mobx-react/__tests__/stateless.test.tsx @@ -58,7 +58,8 @@ test("stateless component with context support", () => { expect(container.textContent).toBe("context: hello world") }) -test("component with observable propTypes", () => { +// propTypes validation seems to have been removed from class components in React 19: https://react.dev/reference/react/Component +test.skip("component with observable propTypes", () => { class Comp extends React.Component { render() { return null