@types/jasmine
Advanced tools
Comparing version 2.2.34 to 2.5.35
@@ -1,2 +0,2 @@ | ||
// Type definitions for Jasmine 2.2 | ||
// Type definitions for Jasmine 2.5 | ||
// Project: http://jasmine.github.io/ | ||
@@ -61,2 +61,3 @@ // Definitions by: Boris Yankov <https://github.com/borisyankov/>, Theodore Brown <https://github.com/theodorejb>, David Pärsson <https://github.com/davidparsson/> | ||
function stringMatching(str: RegExp): Any; | ||
function formatErrorMsg(domain: string, usage: string) : (msg: string) => string | ||
@@ -112,2 +113,3 @@ interface Any { | ||
mockDate(date?: Date): void; | ||
withMock(func: () => void): void; | ||
} | ||
@@ -178,2 +180,8 @@ | ||
throwOnExpectationFailure(value: boolean): void; | ||
seed(seed: string | number): string | number; | ||
provideFallbackReporter(reporter: Reporter): void; | ||
throwingExpectationFailures(): boolean; | ||
allowRespy(allow: boolean): void; | ||
randomTests(): boolean; | ||
randomizeTests(b: boolean): void; | ||
} | ||
@@ -233,2 +241,22 @@ | ||
interface Order { | ||
new (options: {random: boolean, seed: string}): any; | ||
random: boolean; | ||
seed: string; | ||
sort<T>(items: T[]) : T[]; | ||
} | ||
namespace errors { | ||
class ExpectationFailed extends Error { | ||
constructor(); | ||
stack: any; | ||
} | ||
} | ||
interface TreeProcessor { | ||
new (attrs: any): any; | ||
execute: (done: Function) => void; | ||
processTree() : any; | ||
} | ||
interface Trace { | ||
@@ -301,3 +329,5 @@ name: string; | ||
toBeLessThan(expected: number, expectationFailOutput?: any): boolean; | ||
toBeLessThanOrEqual(expected: number, expectationFailOutput?: any): boolean; | ||
toBeGreaterThan(expected: number, expectationFailOutput?: any): boolean; | ||
toBeGreaterThanOrEqual(expected: number, expectationFailOutput?: any): boolean; | ||
toBeCloseTo(expected: number, precision?: any, expectationFailOutput?: any): boolean; | ||
@@ -372,2 +402,3 @@ toThrow(expected?: any): boolean; | ||
addMatcherResult(result: Result): void; | ||
getResult(): any; | ||
expect(actual: any): any; | ||
@@ -382,3 +413,3 @@ waits(timeout: number): Spec; | ||
after(doAfter: SpecFunction): void; | ||
execute(onComplete?: () => void): any; | ||
execute(onComplete?: () => void, enabled?: boolean): any; | ||
addBeforesAndAftersToQueue(): void; | ||
@@ -388,2 +419,3 @@ explodes(): void; | ||
removeAllSpies(): void; | ||
throwOnExpectationFailure: boolean; | ||
} | ||
@@ -488,2 +520,6 @@ | ||
messages: any; | ||
runDetails: { | ||
failedExpectations: ExpectationResult[]; | ||
order: jasmine.Order | ||
} | ||
@@ -490,0 +526,0 @@ new (): any; |
{ | ||
"name": "@types/jasmine", | ||
"version": "2.2.34", | ||
"description": "TypeScript definitions for Jasmine 2.2", | ||
"version": "2.5.35", | ||
"description": "TypeScript definitions for Jasmine 2.5", | ||
"license": "MIT", | ||
@@ -14,4 +14,5 @@ "author": "Boris Yankov <https://github.com/borisyankov/>, Theodore Brown <https://github.com/theodorejb>, David Pärsson <https://github.com/davidparsson/>", | ||
"dependencies": {}, | ||
"peerDependencies": {}, | ||
"typings": "index.d.ts", | ||
"typesPublisherContentHash": "608d57b043cd805f7347bcccb8521d07f580281faf9a7177e970862d3b171a50" | ||
"typesPublisherContentHash": "342ad787ae1d9085f9cb2f352460449c601a7fbda833a19bb87aa2787dbc9ec3" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for Jasmine 2.2 (http://jasmine.github.io/). | ||
This package contains type definitions for Jasmine 2.5 (http://jasmine.github.io/). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
* Last updated: Wed, 05 Oct 2016 20:53:34 GMT | ||
* File structure: Global | ||
@@ -15,0 +15,0 @@ * Library Dependencies: none |
@@ -7,4 +7,4 @@ { | ||
"libraryMajorVersion": "2", | ||
"libraryMinorVersion": "2", | ||
"libraryName": "Jasmine 2.2", | ||
"libraryMinorVersion": "5", | ||
"libraryName": "Jasmine 2.5", | ||
"typingsPackageName": "jasmine", | ||
@@ -40,3 +40,3 @@ "projectName": "http://jasmine.github.io/", | ||
"hasPackageJson": false, | ||
"contentHash": "608d57b043cd805f7347bcccb8521d07f580281faf9a7177e970862d3b171a50" | ||
"contentHash": "342ad787ae1d9085f9cb2f352460449c601a7fbda833a19bb87aa2787dbc9ec3" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21800
477