Skip to content

Commit

Permalink
fixup! test(ivy): enableProdMode (angular#30449)
Browse files Browse the repository at this point in the history
PR Close angular#30449
  • Loading branch information
pkozlowski-opensource authored and BioPhoton committed May 21, 2019
1 parent bf8b26d commit 0b6b656
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/benchmarks/src/expanding_rows/index.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit 0b6b656

Please sign in to comment.