refactor: Bootstrap to AntD - ListGroup (#13996)

* refactor: Bootstrap to AntD - ListGroup

* Improves theme handling on touched files
This commit is contained in:
Michael S. Molina
2021-04-13 19:26:02 -03:00
committed by GitHub
parent b77477a9dd
commit c8a794368d
11 changed files with 158 additions and 129 deletions

View File

@@ -121,14 +121,12 @@ describe('ShareSqlLabQuery', () => {
remoteId: undefined,
},
};
await act(async () => {
render(<ShareSqlLabQuery {...updatedProps} />, {
wrapper: standardProvider,
});
render(<ShareSqlLabQuery {...updatedProps} />, {
wrapper: standardProvider,
});
const button = screen.getByRole('button', { name: /copy link/i });
const style = window.getComputedStyle(button);
expect(style.color).toBe('rgb(102, 102, 102)');
const button = await screen.findByRole('button', { name: /copy link/i });
expect(button).toBeDisabled();
});
});
});