-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TIMOB-13379] Add unit test for time/timeEnd
- Loading branch information
1 parent
d58b771
commit e6fd813
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/* | ||
* Appcelerator Titanium Mobile | ||
* Copyright (c) 2011-2014 by Appcelerator, Inc. All Rights Reserved. | ||
* Licensed under the terms of the Apache Public License | ||
* Please see the LICENSE included with this distribution for details. | ||
*/ | ||
var should = require('./utilities/assertions'); | ||
|
||
// | ||
// Unit test for Titanium events and some other global functions | ||
// | ||
describe('Global', function () { | ||
// make sure we have console.time | ||
it('console.time', function () { | ||
should(console.time).be.a.Function; | ||
}); | ||
// make sure we have console.timeEnd | ||
it('console.timeEnd', function () { | ||
should(console.timeEnd).be.a.Function; | ||
}); | ||
}); | ||
|