export default function takeLatest(fn) {
  // TODO: return a wrapped function that aborts previous calls and resolves only the latest
  throw new Error('Not implemented');
}
Run tests to see results.