Skip to content

Releases: japa/core

Export type for runner summary

19 Jan 09:38
Compare
Choose a tag to compare
Pre-release
  • feat: add type for RunnerSummary d0eabd0

v5.0.5-0...v5.0.6-0

Round off tests and runner duration time

19 Jan 08:27
Compare
Choose a tag to compare
  • refactor: round off tests time duration d57c046

v5.0.4-0...v5.0.5-0

Tests runner now returns the tests summary

19 Jan 05:43
Compare
Choose a tag to compare
  • feat: add getSummary method to runner 17c8821

v5.0.3-0...v5.0.4-0

Add tracker class to generate tests summary

18 Jan 13:00
Compare
Choose a tag to compare
  • feat: add tracker class to generate tests summary ec2ee00

v5.0.2-0...v5.0.3-0

Allow context to be configurable at suite level and remove assert module

10 Jan 06:46
Compare
Choose a tag to compare
  • 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

v5.0.1-0...v5.0.2-0

Make test context configurable and decoupling assert from context

10 Jan 05:48
Compare
Choose a tag to compare
  • refactor: allow custom context for tests 56062cb

v5.0.0-0...v5.0.1-0

Stepping stone for v5

07 Jan 10:13
Compare
Choose a tag to compare

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

28 Oct 18:11
Compare
Choose a tag to compare

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

Full Changelog: v3.1.1...v4.0.0

Using jest diff over variable diff

05 Jun 06:36
Compare
Choose a tag to compare
  • improvement: use jest-diff over variable-diff ce6e80b

v3.1.0...v3.1.1

Adding support for test.only

30 May 19:40
Compare
Choose a tag to compare
  • 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

v3.0.1...v3.1.0