Skip to content

Commit

Permalink
No logs assertions pass in both dev/prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack Pope committed Mar 7, 2024
1 parent d70bc9c commit 985dc0a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('DebugTracing', () => {
expect(logs).toEqual([]);
});

// @gate experimental && build === 'development' && enableDebugTracing
// @gate experimental && enableDebugTracing
it('should not log anything for concurrent render without suspends or state updates', async () => {
await act(() =>
ReactNoop.render(
Expand Down Expand Up @@ -387,7 +387,7 @@ describe('DebugTracing', () => {
]);
});

// @gate experimental && build === 'development' && enableDebugTracing
// @gate experimental && enableDebugTracing
it('should not log anything outside of a unstable_DebugTracingMode subtree', async () => {
function ExampleThatCascades() {
const [didMount, setDidMount] = React.useState(false);
Expand Down

0 comments on commit 985dc0a

Please sign in to comment.