Releases: japa/core
Releases · japa/core
Export type for runner summary
- feat: add type for RunnerSummary d0eabd0
Round off tests and runner duration time
- refactor: round off tests time duration d57c046
Tests runner now returns the tests summary
- feat: add getSummary method to runner 17c8821
Add tracker class to generate tests summary
- feat: add tracker class to generate tests summary ec2ee00
Allow context to be configurable at suite level and remove assert module
- refactor: make context configurable at suite level as well 0a1210c
- refactor: remove assert in favor of dedicated assert package 304d1f7
Use the https://github.com/japa/assert package for assertions
Make test context configurable and decoupling assert from context
- refactor: allow custom context for tests 56062cb
Stepping stone for v5
Japa is getting a rewrite with a new core, a standalone test runner and proper docs website. Please wait for the final release for the documentation.
The new package is published under @japa/core
Support ES modules and drop Node 10/12 support
Remove support for Node versions before 14.17.0 and add support for ES modules. You can enable ESM support as follows.
import japa from 'japa'
japa.configure({
files: ['test/**/*.spec.js'],
experimentalEsmSupport: true
})
- chore: update np d7dccef
- docs(README): document experimentalEsmSupport flag 33ea661
- chore: move husky hooks to .husky dir 6a6a672
- ci: use github actions 7c78b7a
- feat: add support for importing esm files 5052742
- style: fix linting errors bb9e2ca
- chore(deps): bump trim-newlines from 3.0.0 to 3.0.1 (#37) 709b85b
- chore(deps): bump glob-parent from 5.1.1 to 5.1.2 (#36) 3d57d20
- chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#35) f64cd4f
- chore(deps): bump minimist from 1.2.0 to 1.2.5 (#18) 928137c
- chore(deps): bump handlebars from 4.7.6 to 4.7.7 (#34) 72d2395
- improvement: add coverage section (#32) 70bc520
- chore(deps): bump dot-prop from 4.2.0 to 4.2.1 (#28) c43ac52
- chore(deps): bump ini from 1.3.5 to 1.3.7 (#27) 79d787c
- refactor: use String.prototype.padEnd instead of right-pad (#20) b2bb8fe
New Contributors
- @targos made their first contribution in #20
- @dependabot made their first contribution in #27
- @LeCoupa made their first contribution in #32
Full Changelog: v3.1.1...v4.0.0
Using jest diff over variable diff
- improvement: use jest-diff over variable-diff ce6e80b
Adding support for test.only
- chore: add todo file 87d4f24
- improvement: add first class support inside group for test.only d5bb6a9
- improvement: group does not execute hooks when no tests are defined 014c9bb
- chore: update meta files afb0d63
- chore: remove ow 78fc276
- feat: add test.only method to run a single test 311a092
- chore: update dependencies 5522ad6