This commit is contained in:
Sidharth Vinod 2022-09-07 13:42:39 +05:30
parent 18201d326c
commit a61d95a005
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,6 @@
/*
* Used to convert Tagged Template literals to object arrays as required by vitest.
*/
export const convert = (template: TemplateStringsArray, ...params: any[]) => {
const header = template[0]
.trim()