stalniy/bdd-lazy-var

Cannot access inside beforeEach block at root level

Closed this issue · 2 comments

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.

Hello,

What framework do you use (name + version)?

Fixed in 2.2.4