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

@ -16,14 +16,20 @@ describe('requestAnimationFrame', function() {
functions.forEach(function(fnName) {
describe(fnName, ifEnvSupports(fnName, function() {
const originalTimeout: number = (<any>jasmine).DEFAULT_TIMEOUT_INTERVAL;
beforeEach(() => { (<any>jasmine).DEFAULT_TIMEOUT_INTERVAL = 10000; });
beforeEach(() => {
(<any>jasmine).DEFAULT_TIMEOUT_INTERVAL = 10000;
});
afterEach(() => { (<any>jasmine).DEFAULT_TIMEOUT_INTERVAL = originalTimeout; });
afterEach(() => {
(<any>jasmine).DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
});
const rAF = window[fnName];
it('should be tolerant of invalid arguments', function() {
// rAF throws an error on invalid arguments, so expect that.
expect(function() { rAF(null); }).toThrow();
expect(function() {
rAF(null);
}).toThrow();
});
it('should bind to same zone when called recursively', function(done) {