order lifecycle: fix bug
order lifecycle: fix bug: a task in smol-software-harbor (Harbor dataset). Customer service can cancel orders that have already shipped, which the warehouse cannot undo ( no cancelling after shipping fails). Shipped orders may only become delivered. Fix the transition table in src/states.js and…
The task
Customer service can cancel orders that have already shipped, which the warehouse cannot undo (`no cancelling after shipping` fails). Shipped orders may only become delivered. Fix the transition table in `src/states.js` and run `node --test test/*.test.js`.
Part of efederici/smol-software-harbor.