diff --git a/__tests__/src/rules/label-has-associated-control-test.js b/__tests__/src/rules/label-has-associated-control-test.js
index 6db06739..8116bc34 100644
--- a/__tests__/src/rules/label-has-associated-control-test.js
+++ b/__tests__/src/rules/label-has-associated-control-test.js
@@ -86,6 +86,7 @@ const nestingValid = [
{ code: '' },
{ code: '' },
// Custom controlComponents.
+ { code: '', options: [{ controlComponents: ['CustomInput'] }] },
{ code: '', options: [{ controlComponents: ['CustomInput'] }] },
{ code: '', settings: componentsSettings },
{ code: 'A label', options: [{ controlComponents: ['CustomInput'], labelComponents: ['CustomLabel'] }] },
@@ -141,6 +142,7 @@ const nestingInvalid = [
{ code: '', options: [{ depth: 5 }], errors: [expectedError] },
{ code: '', options: [{ depth: 5 }], errors: [expectedError] },
// Custom controlComponents.
+ { code: '', options: [{ controlComponents: ['CustomInput'] }], errors: [expectedError] },
{ code: '', options: [{ controlComponents: ['CustomInput'] }], errors: [expectedError] },
{ code: 'A label', options: [{ controlComponents: ['CustomInput'], labelComponents: ['CustomLabel'] }], errors: [expectedError] },
{ code: '', options: [{ controlComponents: ['CustomInput'], labelComponents: ['CustomLabel'], labelAttributes: ['label'] }], errors: [expectedError] },
diff --git a/src/util/mayContainChildComponent.js b/src/util/mayContainChildComponent.js
index 43a03ef0..65000a04 100644
--- a/src/util/mayContainChildComponent.js
+++ b/src/util/mayContainChildComponent.js
@@ -35,7 +35,7 @@ export default function mayContainChildComponent(
if (childNode.type === 'JSXExpressionContainer') {
return true;
}
- // Check for comonents with the provided name.
+ // Check for components with the provided name.
if (
childNode.type === 'JSXElement'
&& childNode.openingElement