mirror of
https://github.com/apache/superset.git
synced 2026-06-05 15:49:27 +00:00
chore(explore): change dnd placeholders (#16116)
* chore(explore): change dnd placeholders * Fix tests and lint
This commit is contained in:
committed by
GitHub
parent
2db1615c83
commit
6ac4f4ef2f
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user