mockApi("...").triggered() must never return undefined