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