Prettify the frontend code (#8648)

* Add Prettier global configs

* Format js/jsx/ts/tsx/less files
This commit is contained in:
Erik Ritter
2019-11-27 14:02:48 -08:00
committed by GitHub
parent e21f768a92
commit 44d919c757
398 changed files with 8700 additions and 6117 deletions

View File

@@ -35,12 +35,16 @@ describe('CreatedContent', () => {
};
it('renders 2 TableLoader', () => {
const wrapper = shallow(<CreatedContent {...mockedProps} />, { context: { store } });
const wrapper = shallow(<CreatedContent {...mockedProps} />, {
context: { store },
});
expect(wrapper.find(TableLoader)).toHaveLength(2);
});
it('renders 2 titles', () => {
const wrapper = shallow(<CreatedContent {...mockedProps} />, { context: { store } });
const wrapper = shallow(<CreatedContent {...mockedProps} />, {
context: { store },
});
expect(wrapper.find('h3')).toHaveLength(2);
});
});