BUPKIS
    Preparing search index...

    Variable promiseResolveAssertionConst

    promiseResolveAssertion: AssertionFunctionAsync<
        readonly [
            ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>,
            readonly ["to resolve", "to fulfill"],
        ],
        (subject: PromiseLike<unknown>) => Promise<{ message: string } | undefined>,
        readonly [
            ZodCustom<PromiseLike<unknown>, PromiseLike<unknown>>,
            PhraseLiteralChoiceSlot<readonly ["to resolve", "to fulfill"]>,
        ],
    > = ...

    Assertion for testing if a Promise is fulfilled.

    await expectAsync(Promise.resolve('success'), 'to resolve'); // passes
    await expectAsync(Promise.reject('error'), 'to fulfill'); // fails

    promise

    promise-to-resolve