From 85884959ec20ff36b1f46db9ddb112d03f465dce Mon Sep 17 00:00:00 2001 From: LB Date: Wed, 23 Oct 2024 09:37:12 +1000 Subject: [PATCH] [tests] Add additional test cases `label-has-associated-control` - Add test cases for non-nested labels with custom controlComponents - Fix small typo in mayContainChildComponent util - See #962 --- __tests__/src/rules/label-has-associated-control-test.js | 2 ++ src/util/mayContainChildComponent.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/__tests__/src/rules/label-has-associated-control-test.js b/__tests__/src/rules/label-has-associated-control-test.js index 6db067394..8116bc340 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: '