chore(explore): change dnd placeholders (#16116)

* chore(explore): change dnd placeholders

* Fix tests and lint
This commit is contained in:
Kamil Gabryjelski
2021-08-09 17:50:11 +02:00
committed by GitHub
parent 2db1615c83
commit 6ac4f4ef2f
8 changed files with 14 additions and 13 deletions

View File

@@ -31,10 +31,10 @@ const defaultProps = {
test('renders with default props', () => {
render(<DndMetricSelect {...defaultProps} />, { useDnd: true });
expect(screen.getByText('Drop column or metric')).toBeInTheDocument();
expect(screen.getByText('Drop column or metric here')).toBeInTheDocument();
});
test('renders with default props and multi = true', () => {
render(<DndMetricSelect {...defaultProps} multi />, { useDnd: true });
expect(screen.getByText('Drop columns or metrics')).toBeInTheDocument();
expect(screen.getByText('Drop columns or metrics here')).toBeInTheDocument();
});