Skip to content

Commit

Permalink
skipping class propTypes test
Browse files Browse the repository at this point in the history
  • Loading branch information
imjordanxd committed Dec 10, 2024
1 parent 92b9b2d commit 907dd70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/mobx-react/__tests__/stateless.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 907dd70

Please sign in to comment.