diff --git a/src/process/validation/__tests__/multiple.test.ts b/src/process/validation/__tests__/multiple.test.ts index 188118dd..52617441 100644 --- a/src/process/validation/__tests__/multiple.test.ts +++ b/src/process/validation/__tests__/multiple.test.ts @@ -82,7 +82,7 @@ it('Validate RegexPattern rule won\'t execute for multiple values component with const contextWithValues = { ...context, - value: ['a'], + value: 'a', data: { multiple_textfield: ['a'], }, @@ -91,5 +91,5 @@ it('Validate RegexPattern rule won\'t execute for multiple values component with }, }; const shouldValidateRegexRuleWithValues = shouldValidateRegexPattern(contextWithValues); - expect(shouldValidateRegexRule).to.be.equal(true); + expect(shouldValidateRegexRuleWithValues).to.be.equal(true); });