refactor(core): ts’ify tests

This commit is contained in:
Tobias Bosch
2015-05-26 09:45:15 -07:00
parent 23d59df81a
commit 79f564be46
27 changed files with 2558 additions and 2856 deletions
@@ -11,9 +11,8 @@ export function main() {
executed = false;
});
it('should start with a pending count of 0', () => {
expect(testability.getPendingCount()).toEqual(0);
});
it('should start with a pending count of 0',
() => { expect(testability.getPendingCount()).toEqual(0); });
it('should fire whenstable callbacks if pending count is 0', () => {
testability.whenStable(() => executed = true);