mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Removes less from SliceAdder (#14448)
This commit is contained in:
committed by
GitHub
parent
a0881fb157
commit
be8c176df2
@@ -155,10 +155,10 @@ describe('SliceAdder', () => {
|
||||
});
|
||||
|
||||
it('handleSelect', () => {
|
||||
const newSortBy = 1;
|
||||
const newSortBy = { value: 'viz_type' };
|
||||
wrapper.instance().handleSelect(newSortBy);
|
||||
expect(spy.calledOnce).toBe(true);
|
||||
expect(spy.lastCall.args[1]).toBe(newSortBy);
|
||||
expect(spy.lastCall.args[1]).toBe(newSortBy.value);
|
||||
});
|
||||
|
||||
it('handleKeyPress', () => {
|
||||
|
||||
Reference in New Issue
Block a user