Skip to content

Commit 9ff88f2

Browse files
Copilothotlong
andcommitted
test: Fix test to use maxLength instead of max_length
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 07b8bce commit 9ff88f2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/foundation/core/test/util.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ describe('Utility Functions', () => {
327327
const objects = convertIntrospectedSchemaToObjects(schema);
328328
const fields = objects[0].fields!;
329329

330-
expect(fields.short_text.max_length).toBe(100);
330+
expect(fields.short_text.maxLength).toBe(100);
331331
});
332332

333333
it('should add default value when present', () => {

0 commit comments

Comments
 (0)