Skip to content

Releases: japa/core

Update dependencies

29 Mar 09:12
Compare
Choose a tag to compare
  • chore: update dependencies 0ac2cc9

Full Changelog: v8.1.2...v9.0.1

Removing dead code

16 Dec 05:44
Compare
Choose a tag to compare

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.

  • refactor: remove dead code and improve tests coverage 8b98a4e
  • chore: update dependencies a9bbd75

Full Changelog: v8.1.2...v9.0.0

Update dependencies

22 Nov 04:07
Compare
Choose a tag to compare
  • 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

06 Nov 08:29
Compare
Choose a tag to compare
  • chore: do not publish test files a5598c0
  • refactor: rename test directories 20fd861
  • chore: publish source maps and use tsc for generating types 9218552
  • chore: update dependencies 15bcbc8
  • chore: update dependencies 814671a

Full Changelog: v8.1.0...v8.1.1

Improvements to hook methods

18 Oct 12:32
Compare
Choose a tag to compare

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

14 Oct 07:16
Compare
Choose a tag to compare
  • chore: add missing dependency 9ddc069
  • chore: update dependencies 4c0e0b4

Full Changelog: v8.0.1...v8.0.2

Fix: Run test cleanup hooks in reverse order

09 Oct 07:54
Compare
Choose a tag to compare
  • fix: run test cleanup hooks in reverse order 7463b4a
  • chore: update dependencies 24f5862

Full Changelog: v8.0.0...v8.0.1

Major release under latest tag

Use tsup for bundling

23 Sep 12:43
Compare
Choose a tag to compare
Use tsup for bundling Pre-release
Pre-release

Full Changelog: v8.0.0-10...v8.0.0-11

Fix cleanup hooks from running multiple times when inside datasets

15 Sep 07:02
Compare
Choose a tag to compare
  • chore: pin swc/core as the latest release breaks 2e39c1a
  • chore: update dependencies 8bb3b3b
  • fix: remove cleanup hooks after they have been executed a74732f

v8.0.0-9...v8.0.0-10