Dynamicaly import locales (#1793)

* dynamicly import locales

* fix tests

* reformat languages
This commit is contained in:
Kostas Bariotis 2020-06-27 12:02:54 +01:00 committed by GitHub
parent 5970bb7ee9
commit 0a3fb70ec7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 85 additions and 53 deletions

View file

@ -86,7 +86,7 @@
"test": "npm run test:app",
"test:all": "npm run test:typecheck && npm run test:code && npm run test:other && npm run test:app -- --watchAll=false",
"test:update": "npm run test:app -- --updateSnapshot --watchAll=false",
"test:app": "react-scripts test --env=jsdom --passWithNoTests",
"test:app": "react-scripts test --env=jsdom-fourteen --passWithNoTests",
"test:code": "eslint --max-warnings=0 --ignore-path .gitignore --ext .js,.ts,.tsx .",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"test:other": "npm run prettier -- --list-different",