build: reformat repo to new clang@1.4.0 (#36613)

PR Close #36613
This commit is contained in:
Joey Perrott
2020-04-13 16:40:21 -07:00
committed by atscott
parent 5e80e7e216
commit 698b0288be
1160 changed files with 31667 additions and 24000 deletions

View File

@ -8,18 +8,25 @@
import {disableDebugTools, enableDebugTools} from '@angular/platform-browser';
import {SpyComponentRef, callNgProfilerTimeChangeDetection} from './spies';
import {callNgProfilerTimeChangeDetection, SpyComponentRef} from './spies';
{
describe('profiler', () => {
if (isNode) return;
beforeEach(() => { enableDebugTools((<any>new SpyComponentRef())); });
beforeEach(() => {
enableDebugTools((<any>new SpyComponentRef()));
});
afterEach(() => { disableDebugTools(); });
afterEach(() => {
disableDebugTools();
});
it('should time change detection', () => { callNgProfilerTimeChangeDetection(); });
it('should time change detection', () => {
callNgProfilerTimeChangeDetection();
});
it('should time change detection with recording',
() => { callNgProfilerTimeChangeDetection({'record': true}); });
it('should time change detection with recording', () => {
callNgProfilerTimeChangeDetection({'record': true});
});
});
}