Fixed coding styles

This commit is contained in:
Alejandro Celaya
2020-08-22 08:10:31 +02:00
parent 343a93b984
commit a91f1b3bd4
60 changed files with 133 additions and 125 deletions

View File

@@ -9,7 +9,7 @@ describe('<ForServerVersion />', () => {
wrapped = mount(
<ForServerVersion minVersion={minVersion} maxVersion={maxVersion} selectedServer={selectedServer}>
<span>Hello</span>
</ForServerVersion>
</ForServerVersion>,
);
return wrapped;

View File

@@ -23,7 +23,7 @@ describe('<ImportServersBtn />', () => {
const ImportServersBtn = importServersBtnConstruct(serversImporterMock);
wrapper = shallow(
<ImportServersBtn createServers={createServersMock} fileRef={fileRef} onImport={onImportMock} />
<ImportServersBtn createServers={createServersMock} fileRef={fileRef} onImport={onImportMock} />,
);
});
afterEach(() => wrapper.unmount());

View File

@@ -33,7 +33,7 @@ describe('<ServerError />', () => {
wrapper = shallow(
<BrowserRouter>
<ServerError type={type} servers={{}} selectedServer={selectedServer} />
</BrowserRouter>
</BrowserRouter>,
);
const wrapperText = wrapper.html();
const textPairs = Object.entries(textsToFind);