fix(sqllab): Fix autocomplete for SQL Lab (#22329)

This commit is contained in:
Antonio Rivero Martinez
2022-12-05 17:15:27 -03:00
committed by GitHub
parent 5e1b8170ca
commit 96de314c0c
2 changed files with 11 additions and 4 deletions

View File

@@ -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');
});
});