Skip to content

Commit

Permalink
Fixed failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandraRamanenka committed Aug 9, 2024
1 parent 5a1f5b8 commit 276a3a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/process/validation/__tests__/multiple.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
},
Expand All @@ -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);
});

0 comments on commit 276a3a7

Please sign in to comment.