File tree Expand file tree Collapse file tree 3 files changed +11
-7
lines changed
packages/angular_devkit/build_angular Expand file tree Collapse file tree 3 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 38
38
"semver" : " 5.6.0" ,
39
39
"source-map-support" : " 0.5.11" ,
40
40
"source-map-loader" : " 0.2.4" ,
41
- "speed-measure-webpack-plugin" : " 1.3.0 " ,
41
+ "speed-measure-webpack-plugin" : " 1.3.1 " ,
42
42
"stats-webpack-plugin" : " 0.7.0" ,
43
43
"style-loader" : " 0.23.1" ,
44
44
"stylus" : " 0.54.5" ,
Original file line number Diff line number Diff line change 6
6
* found in the LICENSE file at https://angular.io/license
7
7
*/
8
8
import { Architect } from '@angular-devkit/architect/src/index2' ;
9
- import { join , normalize } from '@angular-devkit/core' ;
9
+ import { join , normalize , virtualFs } from '@angular-devkit/core' ;
10
10
import { BrowserBuilderOutput } from '../../src/browser/index2' ;
11
11
import { browserBuild , createArchitect , host } from '../utils' ;
12
12
@@ -26,9 +26,13 @@ describe('Browser Builder profile', () => {
26
26
const output = await run . result as BrowserBuilderOutput ;
27
27
28
28
expect ( output . success ) . toBe ( true ) ;
29
+
30
+ const speedMeasureLogPath = normalize ( 'speed-measure-plugin.json' ) ;
29
31
expect ( host . scopedSync ( ) . exists ( normalize ( 'chrome-profiler-events.json' ) ) ) . toBe ( true ) ;
30
- expect ( host . scopedSync ( ) . exists ( normalize ( 'speed-measure-plugin.json' ) ) ) . toBe ( true ) ;
32
+ expect ( host . scopedSync ( ) . exists ( speedMeasureLogPath ) ) . toBe ( true ) ;
31
33
34
+ const content = virtualFs . fileBufferToString ( host . scopedSync ( ) . read ( speedMeasureLogPath ) ) ;
35
+ expect ( content ) . toContain ( 'plugins' ) ;
32
36
await run . stop ( ) ;
33
37
} ) ;
34
38
} ) ;
Original file line number Diff line number Diff line change @@ -8713,10 +8713,10 @@ spdy@^4.0.0:
8713
8713
select-hose "^2.0.0"
8714
8714
spdy-transport "^3.0.0"
8715
8715
8716
- speed-measure-webpack-plugin@1.3.0 :
8717
- version "1.3.0 "
8718
- resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.0 .tgz#c7ffafef513df3d63d5d546c8fc1986dfc4969aa "
8719
- integrity sha512-b9Yd0TrzceMVYSbuamM1sFsGM1oVfyFTM22gOoyLhymNvBVApuYpkdFOgYkKJpN/KhTpcCYcTGHg7X+FJ33Vvw ==
8716
+ speed-measure-webpack-plugin@1.3.1 :
8717
+ version "1.3.1 "
8718
+ resolved "https://registry.yarnpkg.com/speed-measure-webpack-plugin/-/speed-measure-webpack-plugin-1.3.1 .tgz#69840a5cdc08b4638697dac7db037f595d7f36a0 "
8719
+ integrity sha512-qVIkJvbtS9j/UeZumbdfz0vg+QfG/zxonAjzefZrqzkr7xOncLVXkeGbTpzd1gjCBM4PmVNkWlkeTVhgskAGSQ ==
8720
8720
dependencies :
8721
8721
chalk "^2.0.1"
8722
8722
You can’t perform that action at this time.
0 commit comments