remove char limits
This commit is contained in:
@@ -20,11 +20,12 @@ export const checkFieldConstraintSize = (
|
||||
to.not.throw();
|
||||
});
|
||||
|
||||
it(`Should fail to write more than ${limit} characters to ${fieldName}`,
|
||||
() => {
|
||||
expect(() => eval(`${fieldName} = 'x'.repeat(${limit + 1})`)).
|
||||
to.throw().with.property('errorCode', expectedError);
|
||||
});
|
||||
// We removed all character limits
|
||||
// it(`Should fail to write more than ${limit} characters to ${fieldName}`,
|
||||
// () => {
|
||||
// expect(() => eval(`${fieldName} = 'x'.repeat(${limit + 1})`)).
|
||||
// to.throw().with.property('errorCode', expectedError);
|
||||
// });
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user