chore(ws): added prettier to test and test:fix scripts (#470)
Signed-off-by: paulovmr <832830+paulovmr@users.noreply.github.com>
This commit is contained in:
parent
989fe534d4
commit
da615f5f7e
|
@ -18,14 +18,15 @@
|
|||
"build:prod": "webpack --config ./config/webpack.prod.js",
|
||||
"start:dev": "cross-env STYLE_THEME=$npm_config_theme webpack serve --hot --color --config ./config/webpack.dev.js",
|
||||
"start:dev:mock": "cross-env MOCK_API_ENABLED=true STYLE_THEME=$npm_config_theme npm run start:dev",
|
||||
"test": "run-s test:lint test:unit test:cypress-ci",
|
||||
"test": "run-s prettier:check test:lint test:unit test:cypress-ci",
|
||||
"test:cypress-ci": "npx concurrently -P -k -s first \"npm run cypress:server:build && npm run cypress:server\" \"npx wait-on tcp:127.0.0.1:9001 && npm run cypress:run:mock -- {@}\" -- ",
|
||||
"test:jest": "jest --passWithNoTests",
|
||||
"test:unit": "npm run test:jest -- --silent",
|
||||
"test:watch": "jest --watch",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
|
||||
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
|
||||
"test:lint:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
|
||||
"test:fix": "run-s prettier test:lint:fix",
|
||||
"cypress:open": "cypress open --project src/__tests__/cypress",
|
||||
"cypress:open:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:open -- ",
|
||||
"cypress:run": "cypress run -b chrome --project src/__tests__/cypress",
|
||||
|
|
Loading…
Reference in New Issue