Skip to content

Commit

Permalink
Remove spy
Browse files Browse the repository at this point in the history
Doesn't seem necessary and it breaks the other tests.
  • Loading branch information
sebmarkbage committed Jun 26, 2024
1 parent fdfec40 commit 2fffa15
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react-dom/src/__tests__/ReactComponent-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,6 @@ describe('ReactComponent', () => {

// @gate !disableStringRefs
it('string refs do not detach and reattach on every render', async () => {
spyOnDev(console, 'error').mockImplementation(() => {});

let refVal;
class Child extends React.Component {
componentDidUpdate() {
Expand Down

0 comments on commit 2fffa15

Please sign in to comment.