Releases: Ethaks/FVTT-Quench
Releases · Ethaks/FVTT-Quench
Version 0.5.0
Bug Fixes
- The
clearWorldutility function did not actually work after getting updated to use Documents
Features
- Added snapshot support
- The basic assertion function is
matchSnapshot, which can be used like this:expect({foo: "bar"}).to.matchSnapshot() - Snapshots are stored in Foundry's
Data/__snapshots__/<package name>directory by default - In this
snapBaseDir, each batch gets its own directory, in which each test's snapshot is stored in their own file named by the test's hash - The snapshot directory default can be overwritten by setting a
snapBaseDiroption in the batch registration options
- The basic assertion function is
autoRuntests are now guaranteed to start after thereadyhook is fired
API
- The
quenchReadyhook is now deprecated- To remain compatible with old batch registration for now, the
quenchReadyhook is still fired in Foundry'ssetuphook
- To remain compatible with old batch registration for now, the
- The
quenchglobal is now guaranteed to get initialised in theinithook and can be used afterwards - Registering a batch whose name does not belong to a package will now trigger a UI warning