mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
fix: Charts sort by in edit mode gets cut off (#15896)
This commit is contained in:
committed by
GitHub
parent
7aeb15031d
commit
5be0a89625
@@ -155,10 +155,10 @@ describe('SliceAdder', () => {
|
||||
});
|
||||
|
||||
it('handleSelect', () => {
|
||||
const newSortBy = { value: 'viz_type' };
|
||||
const newSortBy = 'viz_type';
|
||||
wrapper.instance().handleSelect(newSortBy);
|
||||
expect(spy.calledOnce).toBe(true);
|
||||
expect(spy.lastCall.args[1]).toBe(newSortBy.value);
|
||||
expect(spy.lastCall.args[1]).toBe(newSortBy);
|
||||
});
|
||||
|
||||
it('handleKeyPress', () => {
|
||||
|
||||
Reference in New Issue
Block a user