Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/charleshansen/mock-promises
/ functions
Functions
212 in github.com/charleshansen/mock-promises
⨍
Functions
212
◇
Types & classes
43
Method
contains
(haystack: ArrayLike<T> | string, needle: any, customTesters?: Array<CustomEqualityTester>)
typings/jasmine/jasmine.d.ts:137
Method
contains_
(haystack: any, needle: any)
typings/jasmine/jasmine.d.ts:171
Method
count
By chaining the spy with calls.count(), will return the number of times the spy was called
typings/jasmine/jasmine.d.ts:439
Method
currentRunner
()
typings/jasmine/jasmine.d.ts:161
Method
describe
(description: string, specDefinitions: () => void)
typings/jasmine/jasmine.d.ts:157
Method
emitArray
(array: any[])
typings/jasmine/jasmine.d.ts:243
Method
emitObject
(obj: any)
typings/jasmine/jasmine.d.ts:244
Method
emitScalar
(value: any)
typings/jasmine/jasmine.d.ts:241
Method
emitString
(value: string)
typings/jasmine/jasmine.d.ts:242
Method
equals
(a: any, b: any, customTesters?: Array<CustomEqualityTester>)
typings/jasmine/jasmine.d.ts:136
Method
equals_
(a: any, b: any, mismatchKeys: string[], mismatchValues: string[])
typings/jasmine/jasmine.d.ts:170
Function
error
()
spec/support/expect.js:488
Method
execute
(onComplete: () => void)
typings/jasmine/jasmine.d.ts:94
Method
execute
()
typings/jasmine/jasmine.d.ts:323
Method
execute
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:375
Method
execute
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:404
Method
execute
()
typings/jasmine/jasmine.d.ts:408
Method
expect
(actual: any)
typings/jasmine/jasmine.d.ts:366
Method
explodes
()
typings/jasmine/jasmine.d.ts:377
Method
extend
(destination: any, source: any)
typings/jasmine/jasmine.d.ts:466
Method
fail
(e?: any)
typings/jasmine/jasmine.d.ts:369
Function
fakeAll
(promises)
lib/mock-promises.js:239
Function
fakeRace
(promises)
lib/mock-promises.js:256
Function
fakeReject
(value)
lib/mock-promises.js:182
Function
fakeResolve
(value)
lib/mock-promises.js:172
Function
fakeThen
()
lib/mock-promises.js:222
Method
finish
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:373
Method
finish
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:394
Method
finishCallback
()
typings/jasmine/jasmine.d.ts:328
Method
finishCallback
()
typings/jasmine/jasmine.d.ts:372
Method
first
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
Method
format
(value: any)
typings/jasmine/jasmine.d.ts:239
Method
formatException
(e: any)
typings/jasmine/jasmine.d.ts:463
Method
getFullName
()
typings/jasmine/jasmine.d.ts:360
Method
getFullName
()
typings/jasmine/jasmine.d.ts:393
Method
getItems
()
typings/jasmine/jasmine.d.ts:210
Method
getMatchersClass_
()
typings/jasmine/jasmine.d.ts:370
Method
htmlEscape
(str: string)
typings/jasmine/jasmine.d.ts:464
Method
inherit
(childClass: Function, parentClass: Function)
typings/jasmine/jasmine.d.ts:462
Method
insertNext
(block: any, ensure?: boolean)
typings/jasmine/jasmine.d.ts:265
Method
isRunning
()
typings/jasmine/jasmine.d.ts:267
Method
it
(description: string, func: () => void)
typings/jasmine/jasmine.d.ts:165
Method
iterateObject
(obj: any, fn: (property: string, isGetter: boolean) => void)
typings/jasmine/jasmine.d.ts:240
Method
jasmineMatches
(other: any)
typings/jasmine/jasmine.d.ts:66
Method
jasmineMatches
(other: any, mismatchKeys: any[], mismatchValues: any[])
typings/jasmine/jasmine.d.ts:86
Method
jasmineToString
()
typings/jasmine/jasmine.d.ts:67
Method
jasmineToString
()
typings/jasmine/jasmine.d.ts:80
Method
jasmineToString
()
typings/jasmine/jasmine.d.ts:87
Method
log
(values: any)
typings/jasmine/jasmine.d.ts:209
Method
log
(str: string)
typings/jasmine/jasmine.d.ts:312
Method
log
(str: any)
typings/jasmine/jasmine.d.ts:482
Method
message
()
typings/jasmine/jasmine.d.ts:280
Method
mockDate
(date?: Date)
typings/jasmine/jasmine.d.ts:110
Method
mostRecent
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
Method
nextSpecId
()
typings/jasmine/jasmine.d.ts:154
Method
next_
()
typings/jasmine/jasmine.d.ts:268
Function
noop
()
lib/mock-promises.js:27
Method
passed
()
typings/jasmine/jasmine.d.ts:212
Method
passed
()
typings/jasmine/jasmine.d.ts:222
Method
removeAllSpies
()
typings/jasmine/jasmine.d.ts:379
Method
reportRunnerResults
(runner: Runner)
typings/jasmine/jasmine.d.ts:308
Method
reportRunnerStarting
(runner: Runner)
typings/jasmine/jasmine.d.ts:307
Method
reportSpecResults
(spec: Spec)
typings/jasmine/jasmine.d.ts:311
Method
reportSpecStarting
(spec: Spec)
typings/jasmine/jasmine.d.ts:310
Method
reportSuiteResults
(suite: Suite)
typings/jasmine/jasmine.d.ts:309
Method
reset
()
typings/jasmine/jasmine.d.ts:181
Method
results
()
typings/jasmine/jasmine.d.ts:269
Method
results
()
typings/jasmine/jasmine.d.ts:334
Method
results
()
typings/jasmine/jasmine.d.ts:361
Method
results
()
typings/jasmine/jasmine.d.ts:399
Method
results
()
typings/jasmine/jasmine.d.ts:480
Method
resultsForSpec
(specId: any)
typings/jasmine/jasmine.d.ts:481
Method
resultsForSpecs
(specIds: any)
typings/jasmine/jasmine.d.ts:483
Method
returnValue
By chaining the spy with and.returnValue, all calls to the function will return a specific value.
typings/jasmine/jasmine.d.ts:426
Method
rollupCounts
(result: NestedResults)
typings/jasmine/jasmine.d.ts:208
Method
runFunctionsWithinRange
(oldMillis: number, nowMillis: number)
typings/jasmine/jasmine.d.ts:183
Method
runs
(func: SpecFunction)
typings/jasmine/jasmine.d.ts:363
Method
runs
()
typings/jasmine/jasmine.d.ts:384
Method
scheduleFunction
(timeoutKey: any, funcToCall: () => void, millis: number, recurring: boolean)
typings/jasmine/jasmine.d.ts:184
Method
specFilter
(spec: Spec)
typings/jasmine/jasmine.d.ts:174
Method
specs
()
typings/jasmine/jasmine.d.ts:331
Method
specs
()
typings/jasmine/jasmine.d.ts:401
Method
spyOn
(obj: any, methodName: string, ignoreMethodDoesntExist: boolean)
typings/jasmine/jasmine.d.ts:378
Method
start
(onComplete?: () => void)
typings/jasmine/jasmine.d.ts:266
Method
stub
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
Method
suites
()
typings/jasmine/jasmine.d.ts:332
Method
suites
()
typings/jasmine/jasmine.d.ts:402
Method
suites
()
typings/jasmine/jasmine.d.ts:478
Method
summarizeResult_
(result: any)
typings/jasmine/jasmine.d.ts:484
Method
summarize_
(suiteOrSpec: SuiteOrSpec)
typings/jasmine/jasmine.d.ts:479
Method
throwError
By chaining the spy with and.throwError, all calls to the spy will throw the specified value.
typings/jasmine/jasmine.d.ts:430
Method
tick
(millis: number)
typings/jasmine/jasmine.d.ts:182
Method
toBeCloseTo
(expected: any, precision: any)
typings/jasmine/jasmine.d.ts:296
Method
toBeDefined
()
typings/jasmine/jasmine.d.ts:285
Method
toBeFalsy
()
typings/jasmine/jasmine.d.ts:290
Method
toBeLessThan
(expected: any)
typings/jasmine/jasmine.d.ts:294
Method
toBeNaN
()
typings/jasmine/jasmine.d.ts:288
Method
toBeNull
()
typings/jasmine/jasmine.d.ts:287
Method
toBeTruthy
()
typings/jasmine/jasmine.d.ts:289
Method
toBeUndefined
()
typings/jasmine/jasmine.d.ts:286
← previous
next →
101–200 of 212, ranked by callers