Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.64.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; }