File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
modules/angular2/src/test_lib Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,16 @@ function runBenchmark(config) {
3232 } ) ;
3333 }
3434 var url = encodeURI ( config . url + '?' + urlParams . join ( '&' ) ) ;
35- browser . get ( url ) ;
36- return benchpressRunner . sample ( {
37- id : config . id ,
38- execute : config . work ,
39- prepare : config . prepare ,
40- microMetrics : config . microMetrics ,
41- bindings : [
42- benchpress . bind ( benchpress . Options . SAMPLE_DESCRIPTION ) . toValue ( description )
43- ]
35+ return browser . get ( url ) . then ( function ( ) {
36+ benchpressRunner . sample ( {
37+ id : config . id ,
38+ execute : config . work ,
39+ prepare : config . prepare ,
40+ microMetrics : config . microMetrics ,
41+ bindings : [
42+ benchpress . bind ( benchpress . Options . SAMPLE_DESCRIPTION ) . toValue ( description )
43+ ]
44+ } ) ;
4445 } ) ;
4546 } ) ;
4647}
You can’t perform that action at this time.
0 commit comments