Beignet API reference
    Preparing search index...

    Interface DatabaseTestSetupOptions<Ctx>

    Options for setting up one database test session.

    interface DatabaseTestSetupOptions<Ctx> {
        seed?: boolean | readonly SeedDef<Ctx, string>[];
    }

    Type Parameters

    • Ctx
    Index
    seed?: boolean | readonly SeedDef<Ctx, string>[]

    Run seeds after creating the database session.

    Pass true to use the harness default seeds, or pass an explicit seed list for this setup.