Check types

This commit is contained in:
Adria Navarro 2025-01-30 11:38:04 +01:00
parent cfba775636
commit 49d50e053f
1 changed files with 3 additions and 2 deletions

View File

@ -706,7 +706,8 @@ if (descriptions.length) {
...x, ...x,
binaryField: x.binaryField?.toString('utf8'), binaryField: x.binaryField?.toString('utf8'),
decimalField: x.decimalField.toString(), decimalField: x.decimalField.toString(),
longField: x.longField.toString() longField: x.longField.toString(),
regexField: x.regexField.toString()
}))`, }))`,
}) })
@ -749,7 +750,7 @@ if (descriptions.length) {
nestedString: "nested", nestedString: "nested",
}, },
objectIdField: "65b0123456789abcdef01235", objectIdField: "65b0123456789abcdef01235",
regexField: {}, regexField: "/^Hello.*/i",
stringField: "This is a string", stringField: "This is a string",
}, },
]) ])