Closed rammi22 closed 2 years ago
Now you have the ability to run swdc admin-jest MyProject MyPluginName
Now you have the ability to run
swdc admin-jest MyProject MyPluginName
No works, still the same bug
rammi@rammi-laptop-i7:~/Schreibtisch/PROJECTS/ecommerce/shopware$ swdc admin-jest myProject MyPluginName
Installing Node v12.22.12 (x64)
warning: Version already installed at "/nvm/.debian-fnm/node-versions/v12.22.12"
Using Node v12.22.12
_____ _ ______ _
/ ___| | | _ \ | |
\ `--.| |__ ___ _ ____ ____ _ _ __ ___ | | | |___ ___| | _____ _ __
`--. \ '_ \ / _ \| '_ \ \ /\ / / _` | '__/ _ \ | | | / _ \ / __| |/ / _ \ '__|
/\__/ / | | | (_) | |_) \ V V / (_| | | | __/ | |/ / (_) | (__| < __/ |
\____/|_| |_|\___/| .__/ \_/\_/ \__,_|_| \___| |___/ \___/ \___|_|\_\___|_|
| |
|_|
Installing Node v12.22.12 (x64)
warning: Version already installed at "/nvm/.debian-fnm/node-versions/v12.22.12"
Using Node v12.22.12
Available commands in module: base
command-list
completion
...
Can you please provide a step by step configuration for the test setup for custom modules?
Describe the bug Running tests using
swdc admin-jest
orswdc admin-jest MyProjectName
failed. Execution prints available commands instead of expected run tests.To Reproduce Steps to reproduce the behavior:
swdc up MyProjectName
swdc admin-jest
Expected behavior Running tests located in
custom/plugins/MyPluginName/src/Resources/app/administration/test
.Screenshots
Environment:
Additional context a working example using shopeware-docker like https://developer.shopware.com/docs/guides/plugins/plugins/testing/jest-admin would be usefull