Releases: japa/core
Update dependencies
- chore: update dependencies 0ac2cc9
Full Changelog: v8.1.2...v9.0.1
Removing dead code
In this release, the title
property in test:start
and test:end
events does not implement a custom toString
method. You should read the title using the event.title.original
or event.title.expanded
properties.
Full Changelog: v8.1.2...v9.0.0
Update dependencies
- test: add test for filter with special characters 750d733
- chore: pin typescript to 5.2 682f8fe
- chore: update dependencies 9943833
Full Changelog: v8.1.1...v8.1.2
Publish source maps and use TSC for generating types
Improvements to hook methods
The hook methods like suite.onGroup
, suite.onTest
, group.tap
, and runner.onSuite
used to execute for newly added instances to the respective classes. After this release, the hooks will be executed for pre-registered instances as well.
const test = new Test(...args)
const test1 = new Test(...args)
const group = new Group(...args)
/**
* The follow tap method will not be called for this
* test
*/
group.add(test)
group.tap((t) => {
})
/**
* The above tap method will be called for the following
*/
group.add(test)
After this change, the tap
method will run for all the tests registered with a group, regardless of when they are added. Same applies for other hooks as well
Commits
- chore: configure c8 2a83807
- chore: update dependencies d89d6d6
- feat: improvements to onGroup, onTest, tap, and onSuite hooks 7791d2a
Full Changelog: v8.0.2...v8.1.0
Update dependencies
Full Changelog: v8.0.1...v8.0.2
Fix: Run test cleanup hooks in reverse order
Full Changelog: v8.0.0...v8.0.1
Major release under latest tag
Please refer the following pre-releases to learn more about the changes between the 7
and the 8
major release.
- https://github.com/japa/core/releases/tag/v8.0.0-0
- https://github.com/japa/core/releases/tag/v8.0.0-2
- https://github.com/japa/core/releases/tag/v8.0.0-3
- https://github.com/japa/core/releases/tag/v8.0.0-5
- https://github.com/japa/core/releases/tag/v8.0.0-6
- https://github.com/japa/core/releases/tag/v8.0.0-9
- https://github.com/japa/core/releases/tag/v8.0.0-10
Commits
Full Changelog: v7.3.3...v8.0.0
Use tsup for bundling
Full Changelog: v8.0.0-10...v8.0.0-11