mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
@@ -32,7 +32,7 @@ describe('PopoverSection', () => {
|
||||
|
||||
let wrapper;
|
||||
const factory = overrideProps => {
|
||||
const props = Object.assign({}, defaultProps, overrideProps || {});
|
||||
const props = { ...defaultProps, ...(overrideProps || {}) };
|
||||
return shallow(<PopoverSection {...props} />);
|
||||
};
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user