Skip to content

Commit 6e38b2f

Browse files
author
naman-contentstack
committed
fix test case
1 parent b651939 commit 6e38b2f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/unit/tsgen/numeric-keys.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,11 @@ describe("numeric key handling", () => {
114114
).toBe(true);
115115
// Check that table was called with correct data
116116
expect(tableOutput).toHaveLength(1); // One combined table
117-
expect(tableOutput[0].headers).toHaveLength(3);
117+
expect(tableOutput[0].headers).toHaveLength(4);
118118
expect(tableOutput[0].headers[0].value).toBe("Type");
119119
expect(tableOutput[0].headers[1].value).toBe("Key Name");
120120
expect(tableOutput[0].headers[2].value).toBe("Schema Path");
121+
expect(tableOutput[0].headers[3].value).toBe("Reason");
121122
expect(tableOutput[0].data).toHaveLength(2); // 2 skipped fields
122123
expect(
123124
successOutput.some((log) =>

0 commit comments

Comments
 (0)