Optional depthMaximum depth for recursive wrapping of nested results in
a MockHandler. When the wrapping depth reaches this value,
results are serialized directly instead of being wrapped.
Default: Infinity (unlimited).
Optional importPass import.meta from the calling test module to resolve the snapshot
directory relative to the test file: __snapshots__/ alongside the test.
When provided, snapshotDir is ignored.
Optional nameCustom snapshot class name for mock(). Automatically derived when not set:
class constructors use their own name; plain objects use
Object_<hash> (hash of sorted method names).
Optional snapshotOverride snapshot directory (default: __snapshots__ relative to the calling
test file when importMeta is provided, otherwise tests/__snapshots__).
Optional staticsStatic method wrapping configuration. Each element is a list of method names. Predefined lists like SEQUELIZE_STATICS can be used directly.
Optional symbolsEnable serialization of symbol values (default: false).
When enabled, symbols are serialized as their description string and restored via Symbol().
Disabled by default to avoid breaking existing snapshots.
Description
Options for the Mockable decorator.