sanitizeOps property
bool?
get
sanitizeOps
Check that the number of async completed operations after the test step is the same as number of dispatched operations. This ensures that the code tested does not start async operations which it then does not await. This helps in preventing logic errors and memory leaks in the application code.
Defaults to the parent test or step's value.
Implementation
_i2.bool? get sanitizeOps => _i3.getProperty(
this,
'sanitizeOps',
);
set
sanitizeOps
(bool? value)
Implementation
set sanitizeOps(_i2.bool? value) {
_i3.setProperty(
this,
'sanitizeOps',
value ?? _i6.undefined,
);
}