@@ -43,10 +43,9 @@ describe('React hooks DevTools integration', () => {
43
43
const InternalTestUtils = require ( 'internal-test-utils' ) ;
44
44
waitForAll = InternalTestUtils . waitForAll ;
45
45
46
- act = ReactTestRenderer . act ;
46
+ act = require ( 'internal-test-utils' ) . act ;
47
47
} ) ;
48
48
49
- // @gate __DEV__
50
49
it ( 'should support editing useState hooks' , async ( ) => {
51
50
let setCountFn ;
52
51
@@ -90,7 +89,6 @@ describe('React hooks DevTools integration', () => {
90
89
}
91
90
} ) ;
92
91
93
- // @gate __DEV__
94
92
it ( 'should support editable useReducer hooks' , async ( ) => {
95
93
const initialData = { foo : 'abc' , bar : 123 } ;
96
94
@@ -150,7 +148,6 @@ describe('React hooks DevTools integration', () => {
150
148
151
149
// This test case is based on an open source bug report:
152
150
// https://github.com/facebookincubator/redux-react-hook/issues/34#issuecomment-466693787
153
- // @gate __DEV__
154
151
it ( 'should handle interleaved stateful hooks (e.g. useState) and non-stateful hooks (e.g. useContext)' , async ( ) => {
155
152
const MyContext = React . createContext ( 1 ) ;
156
153
@@ -201,7 +198,6 @@ describe('React hooks DevTools integration', () => {
201
198
}
202
199
} ) ;
203
200
204
- // @gate __DEV__
205
201
it ( 'should support overriding suspense in legacy mode' , async ( ) => {
206
202
if ( __DEV__ ) {
207
203
// Lock the first render
@@ -258,7 +254,6 @@ describe('React hooks DevTools integration', () => {
258
254
}
259
255
} ) ;
260
256
261
- // @gate __DEV__
262
257
it ( 'should support overriding suspense in concurrent mode' , async ( ) => {
263
258
if ( __DEV__ ) {
264
259
// Lock the first render
0 commit comments