Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mhevery committed Mar 7, 2017
1 parent 96cb3d0 commit f3b8885
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions lib/jasmine/jasmine.ts
Expand Up @@ -90,10 +90,10 @@
// Note we have to make a function with correct number of arguments, otherwise jasmine will
// think that all functions are sync or async.
return testBody && (testBody.length ? function(done) {
return testProxyZone.run(testBody, this, [done]);
} : function() {
return testProxyZone.run(testBody, this);
});
return testProxyZone.run(testBody, this, [done]);
} : function() {
return testProxyZone.run(testBody, this);
});
}
interface QueueRunner {
execute(): void;
Expand Down
3 changes: 2 additions & 1 deletion test/jasmine-patch.spec.ts
@@ -1,4 +1,3 @@
import {ifEnvSupports} from './test-util';
/**
* @license
* Copyright Google Inc. All Rights Reserved.
Expand All @@ -7,6 +6,8 @@ import {ifEnvSupports} from './test-util';
* found in the LICENSE file at https://angular.io/license
*/

import {ifEnvSupports} from './test-util';

ifEnvSupports(() => jasmine && jasmine['Spec'], () => {
beforeEach(() => {
// assert that each jasmine run has a task, so that drainMicrotask works properly.
Expand Down

0 comments on commit f3b8885

Please sign in to comment.