add tests for hasErrors and hasWarnings with children taken into account
add tests for hasErrors and hasWarnings with children taken into account

webpack/webpack,webpack/webpack,SimenB/webpack,SimenB/webpack,webpack/webpack,NekR/webpack,EliteScientist/webpack,NekR/webpack,webpack/webpack,EliteScientist/webpack,SimenB/webpack,SimenB/webpack