Skip to content

Commit ad2b928

Browse files
Sebastian Silbermanneps1lon
authored andcommitted
Gate production, non-source builds to workaround unspecified Jest bug
1 parent d0bac43 commit ad2b928

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/react-debug-tools/src/__tests__/ReactHooksInspectionIntegrationDOM-test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ describe('ReactHooksInspectionIntegration', () => {
3838
ReactDebugTools = require('react-debug-tools');
3939
});
4040

41+
// Gating production, non-source builds only for Jest.
42+
// @gate source || build === "development"
4143
// @gate enableFormActions && enableAsyncActions
4244
it('should support useFormStatus hook', async () => {
4345
function FormStatus() {

0 commit comments

Comments
 (0)