Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/windmill/node_modules/evt/tools/testing/getPromiseAssertionApi.d.ts>getPromiseAssertionApi

Windmill deno client (separated from the main repo because most of the code is auto-generated from the openapi and not worth committing)
Go to Latest
function getPromiseAssertionApi
import { getPromiseAssertionApi } from "https://deno.land/x/windmill@v1.67.0/node_modules/evt/tools/testing/getPromiseAssertionApi.d.ts";

Parameters

optional
params: { takeIntoAccountArraysOrdering: boolean; }

Returns

{ mustResolve: <T>(params: { promise: Promise<T>; expectedData?: T | undefined; delay?: number | undefined; }) => Promise<T>; mustReject: (params: { promise: Promise<any>; expectedRejectedValue?: any; delay?: number; }) => Promise<void>; mustStayPending: (p: Promise<any>) => void; }