Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.28 KB

CHANGELOG.md

File metadata and controls

53 lines (40 loc) · 2.28 KB

bardjs Change Log

0.1.9

  • Changed verifyNoOutstandingHttpRequests to wrap its verification in a try/catch so mocha can be informed about the error in a nice way that doesn't halt the test suite
  • Changed the mockService function to create a stub instead of a spy when the value of a config obj property is a non-function value. This makes it possible to dynamically configure the stub while testing

0.1.8

  • no functional changes.
  • reversed 0.1.7. Apparently peerDependecies are a horrible idea and have been deprecated. It also seems that bardjs is DIRECTLY dependent on sinon so it's back to being a dependency.

0.1.7

  • no functional changes.
  • made sinon a peerDependency in npm package.json rather than a dependency. This changes means sinon is installed side-by-side bardjs (where you need it) rather than within bardjs's own node_modules folder.

0.1.6

  • no functional changes
  • updated package.json and bower.json descriptions to make clear that bardjs works w/ Jasmine and QUnit too
  • removed package.json install script that invoked bower ... which might not be installed by those who load bard with npm

0.1.5

  • no functional changes
  • added explanatory comments to $state and $route router fakes

0.1.4

  • updated dependency versioning

0.1.3

  • documentation about dependence on sinon
  • more robust handling of this when not using mocha; see issue #5.

0.1.2

  • handle services that have prototype methods/attributes; see pr #4.

0.1.1

  • incorporate Function.bind polyfill (for testing in phantom.js)

0.1.0

  • added brackets code snippets (draft)

0.0.9

  • added comments to make clear that bard.appModule should NOT be used if you'll be testing router services because it fakes their providers and that can't be reversed. Use regular angular.mock.module instead as directed.

0.0.8

  • bard.inject should work for QUnit too (removed mocha/jasmine limitation).
  • Need QUnit tests.### 0.0.6
  • heavily revamped bard.inject. added diagnostic bard.debug

0.0.7

  • bard.inject no longer uses evil Function; added addGlobals, mochaRunnerListener

Coming Soon