Skip to content

Commit 2fffa15

Browse files
committed
Remove spy
Doesn't seem necessary and it breaks the other tests.
1 parent fdfec40 commit 2fffa15

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Diff for: packages/react-dom/src/__tests__/ReactComponent-test.js

-2
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,6 @@ describe('ReactComponent', () => {
134134

135135
// @gate !disableStringRefs
136136
it('string refs do not detach and reattach on every render', async () => {
137-
spyOnDev(console, 'error').mockImplementation(() => {});
138-
139137
let refVal;
140138
class Child extends React.Component {
141139
componentDidUpdate() {

0 commit comments

Comments
 (0)