From 985dc0ae2b70d6bc274157a17415a213c79024a4 Mon Sep 17 00:00:00 2001 From: Jack Pope Date: Thu, 7 Mar 2024 16:28:27 -0500 Subject: [PATCH] No logs assertions pass in both dev/prod --- .../src/__tests__/DebugTracing-test.internal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-reconciler/src/__tests__/DebugTracing-test.internal.js b/packages/react-reconciler/src/__tests__/DebugTracing-test.internal.js index 070fcd676e742..e4e100fe2daf9 100644 --- a/packages/react-reconciler/src/__tests__/DebugTracing-test.internal.js +++ b/packages/react-reconciler/src/__tests__/DebugTracing-test.internal.js @@ -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( @@ -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);