mirror of
https://github.com/apache/superset.git
synced 2026-04-14 05:34:38 +00:00
feat: Implement drag & drop for metrics and filters labels (#12184)
This commit is contained in:
committed by
GitHub
parent
74f3faf1cd
commit
f3ab1f41ee
@@ -120,7 +120,9 @@ describe('VerifiedMetricsControl', () => {
|
||||
onChange: mockOnChange,
|
||||
});
|
||||
|
||||
const child = wrapper.find(MetricsControl);
|
||||
const child = wrapper.find(MetricsControl) as ReactWrapper<{
|
||||
onChange: (str: string[]) => void;
|
||||
}>;
|
||||
child.props().onChange(['abc']);
|
||||
|
||||
expect(child.length).toBe(1);
|
||||
|
||||
Reference in New Issue
Block a user