Add karma-jasmine extra definitions

This commit is contained in:
Michel Salib committed 2013-12-11 12:02:46 +01:00
1 parent 4df0598c8d
commit 1e8f04b8f8
2 files changed
+16

No files matched your search

+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;