mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +00:00
Prettify the frontend code (#8648)
* Add Prettier global configs * Format js/jsx/ts/tsx/less files
This commit is contained in:
@@ -29,14 +29,10 @@ describe('CachedLabel', () => {
|
||||
};
|
||||
|
||||
it('is valid', () => {
|
||||
expect(
|
||||
React.isValidElement(<CachedLabel {...defaultProps} />),
|
||||
).toBe(true);
|
||||
expect(React.isValidElement(<CachedLabel {...defaultProps} />)).toBe(true);
|
||||
});
|
||||
it('renders', () => {
|
||||
const wrapper = shallow(
|
||||
<CachedLabel {...defaultProps} />,
|
||||
);
|
||||
const wrapper = shallow(<CachedLabel {...defaultProps} />);
|
||||
expect(wrapper.find(Label)).toHaveLength(1);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user