Add test
This commit is contained in:
parent
74b2ca5b2e
commit
272e85f696
|
@ -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}`;",
|
||||
])
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue