We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e26c3 commit 2ce0685Copy full SHA for 2ce0685
packages/react-form-renderer/src/tests/validators/validators.test.js
@@ -133,9 +133,9 @@ describe('New validators', () => {
133
});
134
135
it('should not pass the validation and return type error message', () => {
136
- expect(validatorMapper[validatorTypes.MIN_NUMBER_VALUE]({ value: 99, message: 'Foo' })("oo")).toEqual('Value is not a number');
+ expect(validatorMapper[validatorTypes.MIN_NUMBER_VALUE]({ value: 99, message: 'Foo' })('oo')).toEqual('Value is not a number');
137
138
-
+
139
it('should not pass the validation (with value as 0)', () => {
140
expect(validatorMapper[validatorTypes.MIN_NUMBER_VALUE]({ value: 2 })(0)).toEqual('Value must be greater than or equal to 2.');
141
0 commit comments