broken tests: buildCodeForScreens.spec
This commit is contained in:
parent
edd47cd894
commit
da6e812a00
|
@ -56,4 +56,8 @@ describe("buildCodeForScreen", () => {
|
|||
})
|
||||
})
|
||||
|
||||
const getFunctions = screen => new Function(buildCodeForScreens([screen]))()
|
||||
const getFunctions = screen => {
|
||||
const code = buildCodeForScreens([screen])
|
||||
const func = new Function(`return ${code}`)()
|
||||
return func
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue