All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Spy promises
- Deep equal assertion
- Updated
nanospinner
dependency from 1.1.0 to 1.2.0 - Updated
yaml
dependency from 2.5.0 to 2.6.0 - Updated
husky
dependency from 9.1.5 to 9.1.6
Full changelog here
- New assertions. See assertions API
- New spy method
call(...args: any[])
, which allows to run function with spying it
- Fixed error on wrong keybinding pressed
- Updated module cache deleting. If function were changed, watch mode reruns tests for new implementation
- Snapshot testing
- Time log
- Small watch mode improvement
- HTML reporting as optional feature
- New command line interface
- Config initialization error, when choosing wrong file extension
- Not working
cacheWatcher
option in configuration file
- Provided some optimisation
- Missing package contents
- Watch mode exiting process
- Now
wasCalled
spy function can accept custom calls amount. See usage for more information.
- Data decorators for tests
- Optimized mocks registry and test running
- Spy functionality
- Timeout for tests
- Optimized test registry
- Optimized mock registry
- Now test cases can be asynchronous
- toNotBe assertion
- Optimisation for better performance
- Hotkeys for watch mode
- Updated
micromatch
from 4.0.7 to 4.0.8
- Caching option in config for watch mode. Now it can be disabled
- Auto clear mocks & restore all mocks function
- Watch mode output
- Watch mode events running
- Error while running tests after unlink event
- Now watch mode runs only new or changed tests
- Multiple running tests when started watch mode
- Not formatted error output in watch mode
- Watch mode
- Lifecycle decorators
- --config flag to define custom config file path
- New config file formats: .js and .ts
- --init flag for initializing config file
- Fixed toBeFalsy() assertion
- Fixed mocking api docs
- Mocking functionality
- Yaml parser for config. Now configurations can be written using both formats,
yaml
andjson
. - New 11 assertion methods. See usage
- Added assertion interfaces to the package types`
- Configuration file
- More secure process exiting for Windows
- More minimalistic and beautiful output
- Provided new functionality to methods: toThrow, toNotThrow. See usage
- Now process is exiting with code 1 if any of the tests failed
- Fixed status badge color
- Fixed types
- New methods: toNotEqual and ToStrictNotEqual
- New beautiful and more informed output
- Added chaining
- Defining tests now easier
- Full changelog see here.