mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-26 00:21:41 +08:00
- Remove toContainHtml() and toContainText(): they are not part of Jasmine API - Avoid the use of any for toMatch(), toBeLessThan(), toBeGreaterThan(), toBeCloseTo() and toThrowError()
11 lines
406 B
TypeScript
11 lines
406 B
TypeScript
// Knockout specs depend on custom Jasmine matchers
|
|
// See https://github.com/knockout/knockout/blob/v3.4.0/spec/lib/jasmine.extensions.js
|
|
// FYI jasmine-jquery.d.ts (https://github.com/velesin/jasmine-jquery) also defines toContainHtml() and toContainText()
|
|
|
|
declare module jasmine {
|
|
interface Matchers {
|
|
toContainHtml(expected: string): boolean;
|
|
toContainText(expected: string): boolean;
|
|
}
|
|
}
|