Is there a way to run the angular cli tests with the command ng test
that tells the underlining compiler to use the ng build --prod
settings?
I ask because here are often aot compilation errors encountered with ng build --prod
that do not occur with normal compilation with ng build