Skip to content

Extraneous webpack build information on ng test #10153

Closed

Description

@filipesilva

Running ng test on a 6.0.0-rc.0 project will output too much unneeded information about webpack bundles:

kamik@RED-X1C6 MINGW64 /d/work/angular/integration/cli-hello-world (cli-6-rc.0)
$ ng test
 10% building modules 1/1 modules 0 active(node:1272) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
03 04 2018 19:32:18.246:INFO [karma]: Front-end scripts not present. Compiling...                                          i 「wdm」: Hash: 02f3f95fb4f19af2aeb9Version: webpack 4.1.0
Time: 9413ms
Built at: 2018-4-3 19:32:23
       Asset      Size     Chunks                    Chunk Names
     main.js  30.9 KiB       main  [emitted]         main
polyfills.js   515 KiB  polyfills  [emitted]  [big]  polyfills
   vendor.js  7.24 MiB     vendor  [emitted]  [big]  vendor
Entrypoint main [big] = vendor.js main.js
Entrypoint polyfills [big] = polyfills.js
[./node_modules/@angular/compiler/fesm5/testing.js] 14.5 KiB {vendor} [built]
[./node_modules/@angular/core/fesm5/testing.js] 55.6 KiB {vendor} [built]
[./node_modules/@angular/platform-browser-dynamic/fesm5/platform-browser-dynamic.js] 20.2 KiB {vendor} [built]
[./node_modules/@angular/platform-browser-dynamic/fesm5/testing.js] 13.6 KiB {vendor} [built]
[./node_modules/@angular/platform-browser/fesm5/platform-browser.js] 100 KiB {vendor} [built]
[./node_modules/@angular/platform-browser/fesm5/testing.js] 6.66 KiB {vendor} [built]
[./node_modules/core-js/es7/reflect.js] 510 bytes {polyfills} [built]
[./node_modules/zone.js/dist/zone-testing.js] 55.6 KiB {vendor} [built]
[./node_modules/zone.js/dist/zone.js] 128 KiB {polyfills} [built]
   [0] multi ./src/polyfills.ts 28 bytes {polyfills} [built]
[./src sync recursive \.spec\.ts$] ./src sync \.spec\.ts$ 192 bytes {main} [built]
[./src/$$_lazy_route_resource sync recursive] ./src/$$_lazy_route_resource sync 160 bytes {main} [optional] [built]
[./src/app/app.component.spec.ts] 1.27 KiB {main} [optional] [built]
[./src/polyfills.ts] 2.41 KiB {polyfills} [built]
[./src/test.ts] 656 bytes {main} [built]
    + 289 hidden modules
i 「wdm」: Compiled successfully.
03 04 2018 19:32:23.570:INFO [karma]: Karma v2.0.0 server started at http://0.0.0.0:9876/
03 04 2018 19:32:23.571:INFO [launcher]: Launching browser CustomChrome with unlimited concurrency
03 04 2018 19:32:23.577:INFO [launcher]: Starting browser Chrome
03 04 2018 19:32:25.391:INFO [Chrome 65.0.3325 (Windows 10.0.0)]: Connected on socket _ZUgQ-sHsO3A6K6cAAAA with id 62866724
Chrome 65.0.3325 (Windows 10.0.0): Executed 3 of 3 SUCCESS (0.156 secs / 0.211 secs)

Activity

  1. LathaBasappa commented on Jul 23, 2018

    @LathaBasappa

    Facing the same issue, Is this issue fixed?

  2. filipesilva commented on Jul 23, 2018

    @filipesilva
    ContributorAuthor

    @LathaBasappa this was (supposedly) fixed some time ago, if you are still seeing it can you open a new issue with a reproduction please?

  3. angular-automatic-lock-bot commented on Sep 8, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  4. locked and limited conversation to collaborators on Sep 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions