This commit is contained in:
Adria Navarro 2024-01-18 15:35:58 +01:00
parent 74b2ca5b2e
commit 272e85f696
1 changed files with 8 additions and 0 deletions

View File

@ -127,4 +127,12 @@ describe("Test that the string processing works correctly", () => {
"return `average: ${var1} add: ${var2}`;",
])
})
it("should handle uuids", () => {
const response = convertToJS("This is: {{ uuid }}")
checkLines(response, [
"const var1 = helpers.uuid();",
"return `This is: ${var1}`;",
])
})
})