app.sync changes what Quiesco waits for, for the
rest of the test, instead of switching synchronization off altogether.
{ sync: false } still works
(call options).
Trackers
disableTracker(name)
TrackerName
Stops waiting for one tracker: one source of busyness.
name is one of network, timer, react, idle-callback, frame-stable, native and
native-module (on when the build wraps native modules: native module calls).
Another name throws a RangeError.
enableTracker(name)
TrackerName
Waits for a tracker again, also one the config turns off.
disable()
enable() (Detox
disableSynchronization).
enable()
disableTracker and
enableTracker still in effect.
Ignore lists
ignoreUrls.add(pattern) / ignoreUrls.remove(pattern)
network tracker ignores, on top of the config’s
sync.ignoreUrls (configuration). pattern is a string or a regular expression.
remove also takes out a pattern that comes from the config, for the rest of the test.
ignoreElements.add(target) / ignoreElements.remove(target)
MatcherInput
Adds an element to, or removes it from, the elements the frame-stable tracker leaves out, on top of the
config’s sync.ignoreElements (configuration). target is a
matcher.
remove also takes out a matcher that comes from the config, for the rest of the test.