#Test coverage, ignore specific files like app.module.ts or not?
6 messages · Page 1 of 1 (latest)
Generally I ignore module files. I treat them as configuration. If I really need to test my factories, I extract them out to another file so I can import them directly
do you ignore in jest or add a basic spec file to test if the module file is being instantiated correctly?
I never instantiate my modules, that's something the framework handles, so I ignore it at the coverage collection level