✅(i18n) install jest and add tests
We install Jest to test our i18n package. We tests: - the extraction of the translations on the Desk app fo crowdin - the formatings of the translations from crowdin to the app - we check that all the translations are present in the app We connect the tests to the CI.
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
"e2e:test": "yarn APP_E2E run test",
|
||||
"lint": "yarn APP_DESK run lint && yarn APP_E2E run lint",
|
||||
"i18n:extract": "yarn I18N run extract-translation",
|
||||
"i18n:deploy": "yarn I18N run format-deploy"
|
||||
"i18n:deploy": "yarn I18N run format-deploy",
|
||||
"i18n:test": "yarn I18N run test"
|
||||
},
|
||||
"resolutions": {
|
||||
"@types/node": "20.11.16",
|
||||
|
||||
Reference in New Issue
Block a user