mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add a note about translations in tests
This commit is contained in:
parent
aa4ff59618
commit
19f67fe64e
1 changed files with 4 additions and 0 deletions
|
|
@ -8,6 +8,10 @@ import en from 'react-intl/locale-data/en';
|
|||
import { BrowserRouter } from 'react-router-dom';
|
||||
import { Provider } from 'react-redux';
|
||||
import configureStore from '../store';
|
||||
|
||||
// In case you have translated the template and have new translations that
|
||||
// are missing from the en translations fiel, the language for the tests can
|
||||
// ge changed here so that there are no missing translation keys in tests
|
||||
import messages from '../translations/en.json';
|
||||
|
||||
Enzyme.configure({ adapter: new Adapter() });
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue