TestServerOptions
TestServerOptions
Configuration options used to initialize an instance of the TestServer.
Signature
interface TestServerOptions {
productsCsvPath?: string;
initialData: InitialData;
customerCount?: number;
logging?: boolean;
}
productsCsvPath
property
stringThe path to an optional CSV file containing product data to import.
initialData
property
An object containing non-product data which is used to populate the database.
customerCount
property
numberdefault:
10The number of fake Customers to populate into the database.
logging
property
booleandefault:
falseSet this to true to log some information about the database population process.