Skip to content

v1.3.0

Compare
Choose a tag to compare
@SBoudrias SBoudrias released this 01 May 23:22
· 372 commits to main since this release

New methods:

  • RunContext#toPromise() returns a promise resolved when generator is done or rejected if it errored out. Return this value from your setup phase to let your test framework automatically handle errors.
  • RunContext#cleanTestDirectory() removes the directory in which the generator was run. This is probably unnecessary for most of you, but might be useful if your CI doesn't automatically clean up temporary directories.

Fixes

  • Automatically setup --force and --skip-cache flags to ease tests flow and prevent leaks onto your system.