TestDBProviderOptionsinterface
{
readonly realtime?: boolean;
readonly transactions?: boolean;
readonly nestedTransactions?: boolean;
}| Property | Type | |
|---|---|---|
.realtime | boolean | Whether the provider supports realtime sequences — when false, sequences are asserted to throw UnsupportedError (including inside transact()); when true combined with transactions, sequences inside a transaction are asserted to observe the transaction and end with it. Defaults to true readonly |
.transactions | boolean | Whether the provider supports transact() — when false, it is asserted to throw UnsupportedError. Defaults to false readonly |
.nestedTransactions | boolean | Whether transact() can be nested, committing the inner transaction into the outer — when false, nested calls are asserted to throw UnsupportedError. Defaults to false readonly |
Options for testDBProvider(), declaring the capabilities of the provider under test.