Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a typo: occured -> occurred #1392

Merged
merged 1 commit into from Mar 30, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/doDuring.js
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion lib/during.js
Expand Up @@ -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;
Expand Down