diff --git a/packages/uniforms/__suites__/connectField.tsx b/packages/uniforms/__suites__/connectField.tsx index 5c6eefcd8..39d0932c6 100644 --- a/packages/uniforms/__suites__/connectField.tsx +++ b/packages/uniforms/__suites__/connectField.tsx @@ -200,7 +200,7 @@ export function testConnectField() { }); test('connectField - when rendered with label', async () => { - const array = [ + const labelVariants = [ ['Props', '', 'Props'], ['Props', 'Schema', 'Props'], ['Props', undefined, 'Props'], @@ -212,7 +212,7 @@ export function testConnectField() { [undefined, undefined, ''], ]; - array.map(([propLabel, schemaLabel, resultLabel], index) => { + labelVariants.map(([propLabel, schemaLabel, resultLabel], index) => { const schema = { another: { type: String, optional: true }, field: { type: Object, label: schemaLabel },