You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The schematic only remove files related to e2e test from e2e folder but not uninstall dependencies from Angular project when the schematic were running.
The schematic only remove files related to e2e test from
e2e
folder but not uninstall dependencies from Angular project when the schematic were running.Expected Behaviour
A new
Rule
should be generated in the schematic implementation likeaddCypressCucumberDependencies
https://github.com/ngChile/ngchile-packages/blob/master/packages/cypress-cucumber-schematics/src/schematics/cypress/index.ts#L26
but for remove dependencies.
Implementation Ideas
The
Rule
could be named asremoveCypressCucumberDependencies
. For implement it you can use the Test file that will be create a Virtual File Storage for check if the dependency was installed.Look this file:
https://github.com/ngChile/ngchile-packages/blob/master/packages/cypress-cucumber-schematics/src/schematics/cypress/index.spec.ts#L63
We can create similar assertion for check that
protractor
package is not present onpackage.json
file.The text was updated successfully, but these errors were encountered: