Merge pull request #1426 from michelsalib/karma-jasmine

Add karma-jasmine extra definitions (closes #1415)
This commit is contained in:
Basarat Ali Syed
2013-12-11 04:18:10 -08:00
2 changed files with 16 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="karma-jasmine.d.ts" />
ddescribe("A suite", () => {
iit("contains spec with an expectation", () => {
expect(true).toBe(true);
});
});
+9
View File
@@ -0,0 +1,9 @@
// Type definitions for karma-jasmine plugin
// Project: https://github.com/karma-runner/karma-jasmine
// Definitions by: Michel Salib <michelsalib@hotmail.com>
// Definitions: https://github.com/borisyankov/DefinitelyTyped
/// <reference path="../jasmine/jasmine.d.ts" />
declare function ddescribe(description: string, specDefinitions: () => void): void;
declare function iit(expectation: string, assertion: () => void): void;