Skip to content
Snippets Groups Projects
Verified Commit a3125878 authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Remove react-intl due failing tests

The dependency requires to inject provider for test. To evalue another
library for intl
parent 8d695c84
No related branches found
No related tags found
1 merge request!22Remove react-intl due failing tests
import React from 'react'; import React from 'react';
import ReactDOM from 'react-dom'; import ReactDOM from 'react-dom';
import { IntlProvider } from 'react-intl';
import CssBaseline from '@material-ui/core/CssBaseline'; import CssBaseline from '@material-ui/core/CssBaseline';
import MESSAGES_EN from './intl/en.json';
import { App } from './App'; import { App } from './App';
ReactDOM.render( ReactDOM.render(
<React.StrictMode> <React.StrictMode>
<IntlProvider locale="en" messages={MESSAGES_EN}> <CssBaseline />
<CssBaseline /> <App />,
<App />
</IntlProvider>
,
</React.StrictMode>, </React.StrictMode>,
document.getElementById('root'), document.getElementById('root'),
); );
{
"email": "Email address",
"password": "Password",
"email-error": "Insert valid email address",
"password-error": "Insert valid password"
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment