nightwatchjs / nightwatch-schematics

Add Nightwatchjs to an Angular CLI project
https://www.npmjs.com/package/@nightwatch/schematics
MIT License
8 stars 8 forks source link

ng add @nightwatch/schematics errors if no e2e directory (which is the default) #4

Closed AutomatedTester closed 3 years ago

AutomatedTester commented 3 years ago

When there is no e2e directory the adding of schematics, and the code it runs, errors.

STR:

  1. ng new angular-nightwatch
  2. cd angular-nightwatch
  3. ng add @nightwatch/schematics

It will complain there is no e2e directory. It might be good to have better messaging here if we can

vaibhavsingh97 commented 3 years ago

It might be good to have better messaging here if we can

Sure, I guess I should have warned that user with a better message, something like this

Warning: skip deleting, e2e/ directory does not exist