kopia lustrzana https://github.com/wagtail/wagtail
Eslint fix within the ExplorerHeader tests
rodzic
36d3f5dfec
commit
64e9baf0c0
|
@ -24,7 +24,8 @@ describe('ExplorerHeader', () => {
|
|||
});
|
||||
|
||||
it('#page', () => {
|
||||
expect(shallow(<ExplorerHeader {...mockProps} page={{ id: 'a', admin_display_title: 'test' }} />)).toMatchSnapshot();
|
||||
const wrapper = shallow(<ExplorerHeader {...mockProps} page={{ id: 'a', admin_display_title: 'test' }} />);
|
||||
expect(wrapper).toMatchSnapshot();
|
||||
});
|
||||
|
||||
it('#onClick', () => {
|
||||
|
|
Ładowanie…
Reference in New Issue