stalniy / bdd-lazy-var

Provides UI for testing frameworks such as mocha, jasmine and jest which allows to define lazy variables and subjects.
MIT License
162 stars 14 forks source link

Update readme to document usage with karma #12

Closed christian-schulze closed 8 years ago

christian-schulze commented 8 years ago

I've updated karma-mocha (^1.1.1) to support requiring files after Mocha is initialised, e.g.:

client: {
  mocha: {
    ui: 'bdd-lazy-var/global',
    require: [require.resolve('bdd-lazy-var/bdd_lazy_var_global')]
  }
}

This PR contains updates to the README to document this. Also bumped version of karma-mocha in package.json to ^1.1.1, which contains the require feature.

christian-schulze commented 8 years ago

@stalniy What do you think?

stalniy commented 8 years ago

Looks nice! Thanks for fixing that issue in karma-mocha