What does `insertionIndex` mean in a stub mapping ...
# general
d
What does
insertionIndex
mean in a stub mapping generated via the record and replay?
t
It’s the ordering field for stubs. Since the order matters when evaluating a set of stubs of equal priority, this ensures that when they’re file based they end up in the same position after being reloaded.
👍 1
d
If the value is not specified in a stub mapping, what is the default value for this field ?
t
It’ll be whatever the existing largest is +1
👍 1
210 Views