Skip to content

Commit

Permalink
gate bettar
Browse files Browse the repository at this point in the history
  • Loading branch information
rickhanlonii committed Jun 6, 2022
1 parent c9e284a commit 07acb6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/react-dom/src/__tests__/ReactDOMFiberAsync-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ describe('ReactDOMFiberAsync', () => {
expect(counterRef.current.textContent).toBe('Count: 2');
});

// @gate enableFrameEndScheduling
// @gate enableFrameEndScheduling || !allowConcurrentByDefault
it('When allowConcurrentByDefault is enabled, unknown updates should not be time sliced', () => {
let setState = null;
let counterRef = null;
Expand Down Expand Up @@ -719,7 +719,7 @@ describe('ReactDOMFiberAsync', () => {
expect(counterRef.current.textContent).toBe('Count: 1');
});

// @gate enableFrameEndScheduling
// @gate enableFrameEndScheduling || !allowConcurrentByDefault
it('When allowConcurrentByDefault is enabled, unknown updates should not be time sliced event with default first', () => {
let setState = null;
let counterRef = null;
Expand Down Expand Up @@ -750,7 +750,7 @@ describe('ReactDOMFiberAsync', () => {
expect(counterRef.current.textContent).toBe('Count: 2');
});

// @gate enableFrameEndScheduling
// @gate enableFrameEndScheduling || !allowConcurrentByDefault
it('When allowConcurrentByDefault is enabled, unknown updates should not be time sliced event with default after', () => {
let setState = null;
let counterRef = null;
Expand Down

0 comments on commit 07acb6e

Please sign in to comment.