Releases: japa/runner
Add timeTravel and freezeTime macros
5.3.0 (2026-01-17)
Features
- add timeTravel and freezeTime macros (871e2d8)
Full Changelog: v5.2.0...v5.3.0
Fix latest release
Latest release (4.4.1) was broken because of a branch issue. This release fixes it
Features
- automatically use dot reporter when running inside AI Agent (f9da5e0)
Use dot-reporter when running inside a process controlled by AI
5.2.0 (2026-01-09)
Features
- automatically use dot reporter when running inside AI Agent (02a73cb)
Full Changelog: v5.0.0...v5.2.0
Dot reporter for AIs
Full Changelog: v5.1.0...v4.4.1
Target Node 24 and replace fast-glob with fs.glob
5.0.0 (2025-12-13)
We have removed the usage of npm package fast-glob in favor of inbuilt fs.glob method that is part of the Node.js platform. Since, most of the Japa projects uses standard glob expressions, this change wouldn't cause any issues. However, if you were using advanced glob expressions that aren't supported by Node, then feel free to create an issue
Features
- remove fast-glob package in favor of Node.js fs.glob f70c3e0
BREAKING CHANGES
- The globs support behavior may different. However, we expect most Japa
projects to use standard glob expressions and must work without any issues
Full Changelog: v4.4.0...v5.0.0
Add support for listing pinned tests and fail test suite when there are pinned tests
4.4.0 (2025-08-12)
disallowPinnedTests Plugin
The disallowPinnedTests plugin can be used to fail the test suite when there are one or more pinned tests. You may use it to disallow pinning tests when running in CI.
import { disallowPinnedTests } from '@japa/runner/plugins'
configure({
plugins: [disallowPinnedTests({ disallow: !!process.env.CI })]
})
List pinned tests
The --list-pinned flag can be used to view a list of all the pinned tests along with their source code location.
node bin/test.ts --list-pinned
Features
Full Changelog: v4.3.1...v4.4.0
Replace deprecated find-cache-dir package with find-cache-directory
Add getActiveTestOrFail method and return group from test.group method
4.3.0 (2025-07-21)
Features
What's Changed
- test.group() returns created group by @pomarec in #64
- feat: add getActiveTestOrFail method by @Julien-R44 in #65
New Contributors
Full Changelog: v4.2.0...v4.3.0
Add more debug logs
4.2.0 (2025-01-28)
Features
- add more debug logs for easier debugging (0480c8a)
Full Changelog: v4.1.0...v4.2.0
Add Github annotations reporter
The Github annotations reporter reports test errors as workflow annotations. The reporter gets activated automatically in the Github actions environment
4.1.0 (2025-01-09)
Bug Fixes
Features
- add github annotations reporter (23c7762)
- enable github reporter when running in Github actions CI (9da5475)
- make reporter private methods protected (d3e18a5)
Full Changelog: v4.0.0...v4.1.0