I'm pretty sure this is what would help you:
https://github.com/smnbbrv/ngx-spec
However, could you perhaps show your scripts in package.json? Because even if it's generated and some changes were made, your test will not be ran anyways.