Skip to content

Commit 1916b95

Browse files
authored
chore(ws): added prettier to test and test:fix scripts (#470)
Signed-off-by: paulovmr <[email protected]>
1 parent 825ed0e commit 1916b95

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

workspaces/frontend/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,15 @@
1818
"build:prod": "webpack --config ./config/webpack.prod.js",
1919
"start:dev": "cross-env STYLE_THEME=$npm_config_theme webpack serve --hot --color --config ./config/webpack.dev.js",
2020
"start:dev:mock": "cross-env MOCK_API_ENABLED=true STYLE_THEME=$npm_config_theme npm run start:dev",
21-
"test": "run-s test:lint test:unit test:cypress-ci",
21+
"test": "run-s prettier:check test:lint test:unit test:cypress-ci",
2222
"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 -- {@}\" -- ",
2323
"test:jest": "jest --passWithNoTests",
2424
"test:unit": "npm run test:jest -- --silent",
2525
"test:watch": "jest --watch",
2626
"test:coverage": "jest --coverage",
27-
"test:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
2827
"test:lint": "eslint --max-warnings 0 --ext .js,.ts,.jsx,.tsx ./src",
28+
"test:lint:fix": "eslint --ext .js,.ts,.jsx,.tsx ./src --fix",
29+
"test:fix": "run-s prettier test:lint:fix",
2930
"cypress:open": "cypress open --project src/__tests__/cypress",
3031
"cypress:open:mock": "CY_MOCK=1 CY_WS_PORT=9002 npm run cypress:open -- ",
3132
"cypress:run": "cypress run -b chrome --project src/__tests__/cypress",

0 commit comments

Comments
 (0)