Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions packages/react-reconciler/src/__tests__/Activity-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,6 @@ describe('Activity', () => {
expect(root).toMatchRenderedOutput(<span prop={2} />);
});

// @gate enableActivity
it('getSnapshotBeforeUpdate does not run in hidden trees', async () => {
let setState;

Expand Down Expand Up @@ -1607,7 +1606,6 @@ describe('Activity', () => {
]);
});

// @gate enableActivity
it('warns if you pass a hidden prop', async () => {
function App() {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,6 @@ describe('useEffectEvent', () => {
assertLog(['ContextReader (Effect event): second']);
});

// @gate enableActivity
it('effect events are fresh inside Activity', async () => {
function Child({value}) {
const getValue = useEffectEvent(() => {
Expand Down
2 changes: 0 additions & 2 deletions scripts/jest/TestFlags.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,6 @@ function getTestFlags() {
fb: www || xplat,

// These aren't flags, just a useful aliases for tests.
// TODO: Clean this up.
enableActivity: true,
enableSuspenseList: releaseChannel === 'experimental' || www || xplat,
enableLegacyHidden: www,
// TODO: Suspending the work loop during the render phase is currently
Expand Down
Loading