Skip to content

Commit

Permalink
SQL Lab:
Browse files Browse the repository at this point in the history
- Fix test so it considers new store updates from our changes
  • Loading branch information
Antonio-RiveroMartnez committed Dec 5, 2022
1 parent 56af22d commit b0de559
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ test('should toggle the table when the header is clicked', async () => {
userEvent.click(header);

await waitFor(() => {
expect(store.getActions()).toHaveLength(2);
expect(store.getActions()[1].type).toEqual('COLLAPSE_TABLE');
expect(store.getActions()).toHaveLength(4);
expect(store.getActions()[3].type).toEqual('COLLAPSE_TABLE');
});
});

Expand Down

0 comments on commit b0de559

Please sign in to comment.