diff --git a/lib/doDuring.js b/lib/doDuring.js index b198d1720..6e80f549b 100644 --- a/lib/doDuring.js +++ b/lib/doDuring.js @@ -21,7 +21,7 @@ import onlyOnce from './internal/onlyOnce'; * non-error args from the previous callback of `fn`. * @param {Function} [callback] - A callback which is called after the test * function has failed and repeated execution of `fn` has stopped. `callback` - * will be passed an error if one occured, otherwise `null`. + * will be passed an error if one occurred, otherwise `null`. */ export default function doDuring(fn, test, callback) { callback = onlyOnce(callback || noop); diff --git a/lib/during.js b/lib/during.js index 549ad445c..376c4458c 100644 --- a/lib/during.js +++ b/lib/during.js @@ -20,7 +20,7 @@ import onlyOnce from './internal/onlyOnce'; * completed with an optional `err` argument. Invoked with (callback). * @param {Function} [callback] - A callback which is called after the test * function has failed and repeated execution of `fn` has stopped. `callback` - * will be passed an error, if one occured, otherwise `null`. + * will be passed an error, if one occurred, otherwise `null`. * @example * * var count = 0;