From a5a1f4f52f07f1842894f75dc0bd0250797db51a Mon Sep 17 00:00:00 2001 From: Pawel Kozlowski Date: Tue, 14 May 2019 14:50:24 +0200 Subject: [PATCH] fixup! test(ivy): enableProdMode (#30449) PR Close #30449 --- modules/benchmarks/src/expanding_rows/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/benchmarks/src/expanding_rows/index.ts b/modules/benchmarks/src/expanding_rows/index.ts index 6dd9db9d86..743f0ee323 100644 --- a/modules/benchmarks/src/expanding_rows/index.ts +++ b/modules/benchmarks/src/expanding_rows/index.ts @@ -5,13 +5,14 @@ * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ - +import {enableProdMode} from '@angular/core'; import {platformBrowser} from '@angular/platform-browser'; import {ExpandingRowBenchmarkModule} from './benchmark'; import {ExpandingRowBenchmarkModuleNgFactory} from './benchmark.ngfactory'; setMode(ExpandingRowBenchmarkModule.hasOwnProperty('ngModuleDef') ? 'Ivy' : 'ViewEngine'); +enableProdMode(); platformBrowser().bootstrapModuleFactory(ExpandingRowBenchmarkModuleNgFactory); function setMode(name: string): void {