Error in bundle for angular with *.spec.ts files


Hi, I’m trying to run an android project using tns run android --bundle command, but I get errors in all *.spec.ts files. If I remove the files everything works, but I can’t remove them because are used for web.


Try adding "**/*.spec.ts" to exclude option in tsconfig.json
It should make it ignore the *.spec files when building


Thank you so much!!! it works!!!