chore: update prettier tab width for consistency (#175)

This commit is contained in:
41666 2021-03-13 22:54:34 -05:00 committed by GitHub
parent a931f8c69c
commit f24d2fcc99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
247 changed files with 7224 additions and 7375 deletions

View file

@ -7,13 +7,13 @@ import { ServerMasthead } from './ServerMasthead';
import { Editable } from './ServerMasthead.styled';
it('shows Edit Server when editable is true', () => {
const view = shallow(<ServerMasthead editable={true} guild={mastheadSlugs[0]} />);
const view = shallow(<ServerMasthead editable={true} guild={mastheadSlugs[0]} />);
expect(view.find(Editable).length).not.toBe(0);
expect(view.find(Editable).length).not.toBe(0);
});
it('hides Edit Server when editable is true', () => {
const view = shallow(<ServerMasthead editable={false} guild={mastheadSlugs[0]} />);
const view = shallow(<ServerMasthead editable={false} guild={mastheadSlugs[0]} />);
expect(view.find(Editable).length).toBe(0);
expect(view.find(Editable).length).toBe(0);
});