Closed ghost closed 4 years ago
We need to fix the app main e2e test and provide a e2e test for every controller generated by entity and/or controller generator, in order to check CRUD operations.
With https://github.com/jhipster/generator-jhipster-nodejs/commit/d9579e7152d609d783733d7185de5bc843c2131b I have added test profile for typeORM (sqlite in memory), renamed app e2e test and fix it. it misses to do a mocking way for security and service.
Added with #102
It is useful to have end-to-end test classes for every controller. Now there is a npm script test:e2e for an app test that fails. According nestjs standard, rename e2e test with .e2e-spec suffix and jest file with .e2e.config.