MCPcopy Create free account

hub / github.com/charleshansen/mock-promises / functions

Functions212 in github.com/charleshansen/mock-promises

Methodcontains
(haystack: ArrayLike<T> | string, needle: any, customTesters?: Array<CustomEqualityTester>)
typings/jasmine/jasmine.d.ts:137
Methodcontains_
(haystack: any, needle: any)
typings/jasmine/jasmine.d.ts:171
Methodcount
By chaining the spy with calls.count(), will return the number of times the spy was called
typings/jasmine/jasmine.d.ts:439
MethodcurrentRunner
()
typings/jasmine/jasmine.d.ts:161
Methoddescribe
(description: string, specDefinitions: () => void)
typings/jasmine/jasmine.d.ts:157
MethodemitArray
(array: any[])
typings/jasmine/jasmine.d.ts:243
MethodemitObject
(obj: any)
typings/jasmine/jasmine.d.ts:244
MethodemitScalar
(value: any)
typings/jasmine/jasmine.d.ts:241
MethodemitString
(value: string)
typings/jasmine/jasmine.d.ts:242
Methodequals
(a: any, b: any, customTesters?: Array<CustomEqualityTester>)
typings/jasmine/jasmine.d.ts:136
Methodequals_
(a: any, b: any, mismatchKeys: string[], mismatchValues: string[])
typings/jasmine/jasmine.d.ts:170
Functionerror
()
spec/support/expect.js:488
Methodexecute
(onComplete: () => void)
typings/jasmine/jasmine.d.ts:94
Methodexecute
()
typings/jasmine/jasmine.d.ts:323
Methodexecute
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:375
Methodexecute
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:404
Methodexecute
()
typings/jasmine/jasmine.d.ts:408
Methodexpect
(actual: any)
typings/jasmine/jasmine.d.ts:366
Methodexplodes
()
typings/jasmine/jasmine.d.ts:377
Methodextend
(destination: any, source: any)
typings/jasmine/jasmine.d.ts:466
Methodfail
(e?: any)
typings/jasmine/jasmine.d.ts:369
FunctionfakeAll
(promises)
lib/mock-promises.js:239
FunctionfakeRace
(promises)
lib/mock-promises.js:256
FunctionfakeReject
(value)
lib/mock-promises.js:182
FunctionfakeResolve
(value)
lib/mock-promises.js:172
FunctionfakeThen
()
lib/mock-promises.js:222
Methodfinish
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:373
Methodfinish
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:394
MethodfinishCallback
()
typings/jasmine/jasmine.d.ts:328
MethodfinishCallback
()
typings/jasmine/jasmine.d.ts:372
Methodfirst
By chaining the spy with calls.first(), will return the context (the this) and arguments for the first call
typings/jasmine/jasmine.d.ts:449
Methodformat
(value: any)
typings/jasmine/jasmine.d.ts:239
MethodformatException
(e: any)
typings/jasmine/jasmine.d.ts:463
MethodgetFullName
()
typings/jasmine/jasmine.d.ts:360
MethodgetFullName
()
typings/jasmine/jasmine.d.ts:393
MethodgetItems
()
typings/jasmine/jasmine.d.ts:210
MethodgetMatchersClass_
()
typings/jasmine/jasmine.d.ts:370
MethodhtmlEscape
(str: string)
typings/jasmine/jasmine.d.ts:464
Methodinherit
(childClass: Function, parentClass: Function)
typings/jasmine/jasmine.d.ts:462
MethodinsertNext
(block: any, ensure?: boolean)
typings/jasmine/jasmine.d.ts:265
MethodisRunning
()
typings/jasmine/jasmine.d.ts:267
Methodit
(description: string, func: () => void)
typings/jasmine/jasmine.d.ts:165
MethoditerateObject
(obj: any, fn: (property: string, isGetter: boolean) => void)
typings/jasmine/jasmine.d.ts:240
MethodjasmineMatches
(other: any)
typings/jasmine/jasmine.d.ts:66
MethodjasmineMatches
(other: any, mismatchKeys: any[], mismatchValues: any[])
typings/jasmine/jasmine.d.ts:86
MethodjasmineToString
()
typings/jasmine/jasmine.d.ts:67
MethodjasmineToString
()
typings/jasmine/jasmine.d.ts:80
MethodjasmineToString
()
typings/jasmine/jasmine.d.ts:87
Methodlog
(values: any)
typings/jasmine/jasmine.d.ts:209
Methodlog
(str: string)
typings/jasmine/jasmine.d.ts:312
Methodlog
(str: any)
typings/jasmine/jasmine.d.ts:482
Methodmessage
()
typings/jasmine/jasmine.d.ts:280
MethodmockDate
(date?: Date)
typings/jasmine/jasmine.d.ts:110
MethodmostRecent
By chaining the spy with calls.mostRecent(), will return the context (the this) and arguments for the most recent call
typings/jasmine/jasmine.d.ts:447
MethodnextSpecId
()
typings/jasmine/jasmine.d.ts:154
Methodnext_
()
typings/jasmine/jasmine.d.ts:268
Functionnoop
()
lib/mock-promises.js:27
Methodpassed
()
typings/jasmine/jasmine.d.ts:212
Methodpassed
()
typings/jasmine/jasmine.d.ts:222
MethodremoveAllSpies
()
typings/jasmine/jasmine.d.ts:379
MethodreportRunnerResults
(runner: Runner)
typings/jasmine/jasmine.d.ts:308
MethodreportRunnerStarting
(runner: Runner)
typings/jasmine/jasmine.d.ts:307
MethodreportSpecResults
(spec: Spec)
typings/jasmine/jasmine.d.ts:311
MethodreportSpecStarting
(spec: Spec)
typings/jasmine/jasmine.d.ts:310
MethodreportSuiteResults
(suite: Suite)
typings/jasmine/jasmine.d.ts:309
Methodreset
()
typings/jasmine/jasmine.d.ts:181
Methodresults
()
typings/jasmine/jasmine.d.ts:269
Methodresults
()
typings/jasmine/jasmine.d.ts:334
Methodresults
()
typings/jasmine/jasmine.d.ts:361
Methodresults
()
typings/jasmine/jasmine.d.ts:399
Methodresults
()
typings/jasmine/jasmine.d.ts:480
MethodresultsForSpec
(specId: any)
typings/jasmine/jasmine.d.ts:481
MethodresultsForSpecs
(specIds: any)
typings/jasmine/jasmine.d.ts:483
MethodreturnValue
By chaining the spy with and.returnValue, all calls to the function will return a specific value.
typings/jasmine/jasmine.d.ts:426
MethodrollupCounts
(result: NestedResults)
typings/jasmine/jasmine.d.ts:208
MethodrunFunctionsWithinRange
(oldMillis: number, nowMillis: number)
typings/jasmine/jasmine.d.ts:183
Methodruns
(func: SpecFunction)
typings/jasmine/jasmine.d.ts:363
Methodruns
()
typings/jasmine/jasmine.d.ts:384
MethodscheduleFunction
(timeoutKey: any, funcToCall: () => void, millis: number, recurring: boolean)
typings/jasmine/jasmine.d.ts:184
MethodspecFilter
(spec: Spec)
typings/jasmine/jasmine.d.ts:174
Methodspecs
()
typings/jasmine/jasmine.d.ts:331
Methodspecs
()
typings/jasmine/jasmine.d.ts:401
MethodspyOn
(obj: any, methodName: string, ignoreMethodDoesntExist: boolean)
typings/jasmine/jasmine.d.ts:378
Methodstart
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:266
Methodstub
When a calling strategy is used for a spy, the original stubbing behavior can be returned at any time with and.stub.
typings/jasmine/jasmine.d.ts:432
Methodsuites
()
typings/jasmine/jasmine.d.ts:332
Methodsuites
()
typings/jasmine/jasmine.d.ts:402
Methodsuites
()
typings/jasmine/jasmine.d.ts:478
MethodsummarizeResult_
(result: any)
typings/jasmine/jasmine.d.ts:484
Methodsummarize_
(suiteOrSpec: SuiteOrSpec)
typings/jasmine/jasmine.d.ts:479
MethodthrowError
By chaining the spy with and.throwError, all calls to the spy will throw the specified value.
typings/jasmine/jasmine.d.ts:430
Methodtick
(millis: number)
typings/jasmine/jasmine.d.ts:182
MethodtoBeCloseTo
(expected: any, precision: any)
typings/jasmine/jasmine.d.ts:296
MethodtoBeDefined
()
typings/jasmine/jasmine.d.ts:285
MethodtoBeFalsy
()
typings/jasmine/jasmine.d.ts:290
MethodtoBeLessThan
(expected: any)
typings/jasmine/jasmine.d.ts:294
MethodtoBeNaN
()
typings/jasmine/jasmine.d.ts:288
MethodtoBeNull
()
typings/jasmine/jasmine.d.ts:287
MethodtoBeTruthy
()
typings/jasmine/jasmine.d.ts:289
MethodtoBeUndefined
()
typings/jasmine/jasmine.d.ts:286
← previousnext →101–200 of 212, ranked by callers