Skip to content

Commit

Permalink
NEXT-25445 - Fix jest in plugin ci template
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasLimberg committed Feb 15, 2023
1 parent 248819d commit 3695a2c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitlab/templates/plugin.yml
Expand Up @@ -266,7 +266,7 @@ jest (administration):
- $CI_PROJECT_DIR/bin/console framework:schema -s 'entity-schema' $ADMIN_PATH/test/_mocks_/entity-schema.json
- cd ${PLUGIN_SOURCE_DIR}Resources/app/administration/
- npm ci --no-audit --prefer-offline
- '$(npm bin)/jest --config jest.config.js --ci'
- npm exec jest -- --config jest.config.js --ci
coverage: '/^\s?All files[^|]*\|[^|]*\s+([\d\.]+)/'

jest (storefront):
Expand Down
5 changes: 4 additions & 1 deletion .vscode/settings.json
@@ -1,5 +1,8 @@
{
"eslint.validate": [
"twig"
]
],
"eslint.workingDirectories": [
{"mode": "auto"}
],
}

0 comments on commit 3695a2c

Please sign in to comment.