mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
Prettify the frontend code (#8648)
* Add Prettier global configs * Format js/jsx/ts/tsx/less files
This commit is contained in:
@@ -30,7 +30,9 @@ describe('MetricDefinitionOption', () => {
|
||||
const store = mockStore({});
|
||||
|
||||
function setup(props) {
|
||||
return shallow(<MetricDefinitionOption {...props} />, { context: { store } }).dive();
|
||||
return shallow(<MetricDefinitionOption {...props} />, {
|
||||
context: { store },
|
||||
}).dive();
|
||||
}
|
||||
|
||||
it('renders a MetricOption given a saved metric', () => {
|
||||
|
||||
Reference in New Issue
Block a user