mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 12:30:18 +00:00
Jasmine: added jasmine.objectContaining
This commit is contained in:
Vendored
+20
@@ -29,6 +29,7 @@ declare module jasmine {
|
||||
var Clock: Clock;
|
||||
|
||||
function any(aclass: any):any;
|
||||
function objectContaining(sample: any): ObjectContaining;
|
||||
function createSpy(name: string, originalFn: Function): Spy;
|
||||
function createSpyObj(baseName: string, methodNames: any[]): any;
|
||||
function pp(value: any): string;
|
||||
@@ -42,6 +43,13 @@ declare module jasmine {
|
||||
jasmineToString():any;
|
||||
}
|
||||
|
||||
interface ObjectContaining {
|
||||
new (sample: any): any;
|
||||
|
||||
jasmineMatches(other: any, mismatchKeys: any[], mismatchValues: any[]): any;
|
||||
jasmineToString(): any;
|
||||
}
|
||||
|
||||
interface Block {
|
||||
|
||||
new (env: Env, func: Function, spec: Spec):any;
|
||||
@@ -215,6 +223,18 @@ declare module jasmine {
|
||||
|
||||
new (env: Env, suite: Suite, description: string):any;
|
||||
|
||||
id: number;
|
||||
env: Env;
|
||||
suite: Suite;
|
||||
description: string;
|
||||
queue: Queue;
|
||||
|
||||
afterCallbacks: any;
|
||||
spies_: any;
|
||||
|
||||
results_: NestedResults;
|
||||
matchersClass: any;
|
||||
|
||||
getFullName(): string;
|
||||
results():any;
|
||||
log():any;
|
||||
|
||||
Reference in New Issue
Block a user