Cannot access inside beforeEach block at root level
Closed this issue · 2 comments
noahprince22 commented
Trying to use a variable, like so
def('hello', () => 'hello')
beforeEach(() => {
const hello = $hello;
})
Fails with It looks like you are trying to evaluate "hello" too early.
stalniy commented
Hello,
What framework do you use (name + version)?
stalniy commented
Fixed in 2.2.4