Skip to main content

lib/test/promise

Api Code Documentation / Exports / lib/test/promise

Table of contents

Functions

Functions

assertIsRejectedWith

assertIsRejectedWith(promise): Promise<void>

Parameters

NameType
promisePromise<any>

Returns

Promise<void>

Defined in

src/lib/test/promise.ts:18


assertIsResolved

assertIsResolved(promise, expectedResult?): Promise<void>

Parameters

NameType
promisePromise<any>
expectedResult?any

Returns

Promise<void>

Defined in

src/lib/test/promise.ts:4