Add a note about translations in tests

This commit is contained in:
Hannu Lyytikainen 2018-11-13 15:46:19 +02:00
parent aa4ff59618
commit 19f67fe64e

View file

@ -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() });