diff --git a/src/App.js b/src/App.js
index 64517dac..9f2605d2 100644
--- a/src/App.js
+++ b/src/App.js
@@ -39,11 +39,7 @@ export default class StripesCore extends Component {
const parsedTenant = storedTenant ? JSON.parse(storedTenant) : undefined;
const okapi = (typeof okapiConfig === 'object' && Object.keys(okapiConfig).length > 0)
- ? {
- ...okapiConfig,
- tenant: parsedTenant?.tenantName || okapiConfig.tenant,
- clientId: parsedTenant?.clientId || okapiConfig.clientId
- } : { withoutOkapi: true };
+ ? { ...okapiConfig, tenant: parsedTenant?.tenantName || okapiConfig.tenant, clientId: parsedTenant?.clientId || okapiConfig.clientId } : { withoutOkapi: true };
const initialState = merge({}, { okapi }, props.initialState);
diff --git a/src/RootWithIntl.test.js b/src/RootWithIntl.test.js
index 971e9e09..198558f4 100644
--- a/src/RootWithIntl.test.js
+++ b/src/RootWithIntl.test.js
@@ -40,11 +40,6 @@ const store = {
};
describe('RootWithIntl', () => {
- beforeAll(() => {
- const eventsPortal = document.createElement('div');
- eventsPortal.id = 'events-portal';
- document.body.appendChild(eventsPortal);
- });
it('renders login without one of (isAuthenticated, token, disableAuth)', async () => {
const stripes = new Stripes({ epics: {}, logger: {}, bindings: {}, config: {}, store, discovery: { isFinished: false } });
await render(