@@ -43,10 +43,9 @@ describe('React hooks DevTools integration', () => {
4343 const InternalTestUtils = require ( 'internal-test-utils' ) ;
4444 waitForAll = InternalTestUtils . waitForAll ;
4545
46- act = ReactTestRenderer . act ;
46+ act = require ( 'internal-test-utils' ) . act ;
4747 } ) ;
4848
49- // @gate __DEV__
5049 it ( 'should support editing useState hooks' , async ( ) => {
5150 let setCountFn ;
5251
@@ -90,7 +89,6 @@ describe('React hooks DevTools integration', () => {
9089 }
9190 } ) ;
9291
93- // @gate __DEV__
9492 it ( 'should support editable useReducer hooks' , async ( ) => {
9593 const initialData = { foo : 'abc' , bar : 123 } ;
9694
@@ -150,7 +148,6 @@ describe('React hooks DevTools integration', () => {
150148
151149 // This test case is based on an open source bug report:
152150 // https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
153- // @gate __DEV__
154151 it ( 'should handle interleaved stateful hooks (e.g. useState) and non-stateful hooks (e.g. useContext)' , async ( ) => {
155152 const MyContext = React . createContext ( 1 ) ;
156153
@@ -201,7 +198,6 @@ describe('React hooks DevTools integration', () => {
201198 }
202199 } ) ;
203200
204- // @gate __DEV__
205201 it ( 'should support overriding suspense in legacy mode' , async ( ) => {
206202 if ( __DEV__ ) {
207203 // Lock the first render
@@ -258,7 +254,6 @@ describe('React hooks DevTools integration', () => {
258254 }
259255 } ) ;
260256
261- // @gate __DEV__
262257 it ( 'should support overriding suspense in concurrent mode' , async ( ) => {
263258 if ( __DEV__ ) {
264259 // Lock the first render
0 commit comments