mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
Add test on push
This commit is contained in:
parent
75b29f7e5e
commit
05b827ed32
@ -8,7 +8,7 @@
|
||||
"cy:run": "cypress run",
|
||||
"lint": "eslint src --ext js,ts,tsx",
|
||||
"test:integration": "start-server-and-test 'yarn playground' http-get://localhost:8081 'yarn cy:run'",
|
||||
"test": "yarn test:unit test:integration",
|
||||
"test": "yarn test:unit && yarn test:integration",
|
||||
"test:unit": "jest ./test/unit/* --detectOpenHandles",
|
||||
"i18n:extract": "formatjs extract 'src/**/*.ts*' --ignore 'src/@types/**/*' --out-file lang/en.json",
|
||||
"i18n:compile": "for lang in {'es','en','fr','de','zh','ru'};do formatjs compile lang/${lang}.json --ast --out-file src/compiled-lang/${lang}.json;done"
|
||||
|
Loading…
Reference in New Issue
Block a user