Skip to content

Commit

Permalink
Gate production, non-source builds to workaround unspecified Jest bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Silbermann authored and eps1lon committed Mar 27, 2024
1 parent 9ebbd93 commit ccf9838
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ describe('ReactHooksInspectionIntegration', () => {
ReactDebugTools = require('react-debug-tools');
});

// Gating production, non-source builds only for Jest.
// @gate source || build === "development"
it('should support useFormStatus hook', async () => {
function FormStatus() {
const status = ReactDOM.useFormStatus();
Expand Down

0 comments on commit ccf9838

Please sign in to comment.