Skip to content

Commit

Permalink
Use suggested test name
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon committed Jan 27, 2021
1 parent f34d762 commit c4a45ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3761,7 +3761,7 @@ describe('ReactHooksWithNoopRenderer', () => {
expect(Scheduler).toHaveYielded(['Unmount A', 'Unmount B']);
});

it('effect dependencies are consistent with yielded values when triggering state updates during render', () => {
it('effect dependencies are persisted after a render phase update', () => {
let handleClick;
function Test() {
const [count, setCount] = useState(0);
Expand Down

0 comments on commit c4a45ff

Please sign in to comment.