bdd-lazy-var
bdd-lazy-var copied to clipboard
Provides UI for testing frameworks such as mocha, jasmine and jest which allows to define lazy variables and subjects.
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Awaiting Schedule These updates are awaiting their schedule. Click on a checkbox to...
# Solves This PR Solves https://github.com/stalniy/bdd-lazy-var/issues/113 # Context This PR allows you to specify a `def` with `{lazy: false}` to make it eagerly evaluate instead of lazily. This is very...
On version `2.5.4` of `bdd-lazy-var`, I am receiving the error: ``` Cannot read property 'getEnv' of undefined > 1 | import "bdd-lazy-var/global"; | ^ at Object.createUi (node_modules/bdd-lazy-var/global.js:648:44) at node_modules/bdd-lazy-var/global.js:782:37 at...
Something like this: ```js describe('a test', function () { def('name', () => 'Some Name') it('works', function () { expect($.name).to.eql('Some Name') }) }) ``` Results in an error like this: ```sh...
The RSpec testing framework has lazy variable evaluation using `let(:some_var) { ... }` similar as this libary `def("someVar", () => ...)`. But there's also an additional helper `let!(:other_var) { ......
I have a spec that makes use of the `describe.each` [functionality](https://jestjs.io/docs/en/api.html#describeeachtable-name-fn-timeout) introduced in Jest v23. As soon as I add a call to `def` to introduce a variable with bdd-lazy-var...
We just started a new project with vitest. I never want to write tests without bdd-lazy-var again, but right now, I have to! :(