@servicenow/sdk - v4.14.3
    Preparing search index...

    Type Alias ReusableTest<I, O>

    A reusable ATF test (sys_atf_test_callable), returned by Test(...) when called with isReusable: true. Exported as a type only — there's no separate ReusableTest(...) constructor, build one via Test(...) — so a call site elsewhere can recover its own I/O later from typeof myReusableTest, used by atf.executeTest.

    type ReusableTest<
        I extends TableColumn = TableColumn,
        O extends TableColumn = TableColumn,
    > = {
        configurationFunction: (
            atf: ATFTestRun,
            inputs: TypedColumnValues<I>,
            outputs: TypedColumnValues<O>,
        ) => unknown;
        input: ReusableTestSetup<I, O>;
    }

    Type Parameters

    Index

    Properties

    configurationFunction: (
        atf: ATFTestRun,
        inputs: TypedColumnValues<I>,
        outputs: TypedColumnValues<O>,
    ) => unknown