broken tests: buildCodeForScreens.spec
This commit is contained in:
parent
7a21c149ba
commit
754a9bce16
|
@ -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