chore: Removes less from SliceAdder (#14448)

This commit is contained in:
Michael S. Molina
2021-05-19 04:16:44 -03:00
committed by GitHub
parent a0881fb157
commit be8c176df2
4 changed files with 112 additions and 84 deletions

View File

@@ -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', () => {