angular-docs-cn/public/docs/js/latest/api/test/NgMatchers-interface.jade

144 lines
1.6 KiB
Plaintext

p.location-badge.
exported from <a href='../test'>angular2/test</a>
defined in <a href="https://github.com/angular/angular/tree/2.0.0-alpha.37/modules/angular2/src/test_lib/test_lib.ts#L23-L36">angular2/src/test_lib/test_lib.ts (line 23)</a>
:markdown
.l-main-section
h2 Members
.l-sub-section
h3#toBe toBe
pre.prettyprint
code.
toBe(expected: any)
:markdown
.l-sub-section
h3#toEqual toEqual
pre.prettyprint
code.
toEqual(expected: any)
:markdown
.l-sub-section
h3#toBePromise toBePromise
pre.prettyprint
code.
toBePromise()
:markdown
.l-sub-section
h3#toBeAnInstanceOf toBeAnInstanceOf
pre.prettyprint
code.
toBeAnInstanceOf(expected: any)
:markdown
.l-sub-section
h3#toHaveText toHaveText
pre.prettyprint
code.
toHaveText(expected: any)
:markdown
.l-sub-section
h3#toHaveCssClass toHaveCssClass
pre.prettyprint
code.
toHaveCssClass(expected: any)
:markdown
.l-sub-section
h3#toImplement toImplement
pre.prettyprint
code.
toImplement(expected: any)
:markdown
.l-sub-section
h3#toContainError toContainError
pre.prettyprint
code.
toContainError(expected: any)
:markdown
.l-sub-section
h3#toThrowErrorWith toThrowErrorWith
pre.prettyprint
code.
toThrowErrorWith(expectedMessage: any)
:markdown
.l-sub-section
h3#not not
:markdown