Skip to content

Leakage 0.3

Compare
Choose a tag to compare
@andywer andywer released this 16 May 13:26
· 18 commits to master since this release

Hallelujah!

It took almost half a year and four tries of rewriting the library. It is safe to say that this baby was born out of sweat and tears!

But here it is: Asynchronous memory leak testing for node.

There is also a slightly changed API that shall bring us joy in the future and there are extra heap footprint tests to make sure leakage itself won't impact heap snapshotting much.

Enjoy!

Changelog

  • Support for asynchronous tests:
    iterate.async(iterator: Function, options: ?Object): Promise<Result> (#7)
  • Changed API:
    iterate(iterations: number, iterator: Function) => iterate(iterator: Function, options: ?Object)
  • Pretty much a complete rewrite of the library
  • Added heap footprint tests checking the library's own footprint
  • Result object contains heap diffs and test metadata
  • Requires node 6+