- name: optimistic-failure-restores-state
  where: "src/useCancellation.js"
  ensure: >-
    When cancelOnServer rejects, the optimistic cancelling state must be replaced with the previous order before reporting the error.
