Skip to content

Releases: Julien-R44/japa-vscode

Support for JSX/TSX files

08 Nov 12:45

Choose a tag to compare

Changes

  • Previous versions didn't work with .jsx and .tsx files. Now it works as expected
  • The filePattern option was not used for file discovery in the test explorer
  • Fixed cases when npmScript contained the npm script to run + some additionals arguments

What's Changed

  • docs: fix typo and update reporters import by @cahnory in #11

New Contributors

Full Changelog: v2.1.2...v2.1.3

Fix NODE_NO_WARNING not cross-platforms

27 Oct 14:59

Choose a tag to compare

  • Fixed the NODE_NO_WARNINGS that was set when running tests. It was not cross-platform and therefore didn't works for Windows/Powershell users

Full Changelog: 2.1.0...v2.1.1

Version 2

20 Oct 19:37

Choose a tag to compare

Changes

  • Japa v3 support. Retro-compatibility retained with Japa v2.
  • Major change in this new version is the integration of Vscode's Testing Explorer. More information here
    • Please note that this feature is only available for Japa v3 and not Japa v2 !
  • Added japa.misc.disableNodeWarnings option. Activated by default. Allows to hide the large warnings emitted by Node about the experimental features used in your project, before each test execution.

Bundling issue v2

10 Jul 08:05

Choose a tag to compare

Bundling issue v2 Pre-release
Pre-release

Changes

  • Last build was also broken due to dependencies bundling. Ditched youch for error-stack-parser

Bundling issue

09 Jul 20:53

Choose a tag to compare

Bundling issue Pre-release
Pre-release

Changes

Last version was broken due to some bundled dependencies. ( that's why you should never bundle node.js code. it's such a headache. 😄 but required in this specific context of a vscode extension )

Vscode testing explorer integration

09 Jul 15:57

Choose a tag to compare

Pre-release

Vscode test explorer integration

Warning
For using this feature you will need to use Japa v3 that is still in a pre-release state ( japa/runner#30 )

introducing integration with Vscode's testing API 🔥

Short demo video here:

Fix jumping editor

07 Jun 09:05

Choose a tag to compare

Previously, when you typed in a test file, the editor could "jump" because the "run test" codelens appeared and disappeared depending on the validity of the source code syntax.

This was due to the AST no longer being able to calculate new codelenses, as it was unable to parse an invalid file. Which was a bit boring. This has now been fixed: we now cache and return the previous codelens in the event that the AST is invalid.

Fix bundling issue

07 Jun 08:19

Choose a tag to compare

Fixes

There was a bundling problem with the previous version : the pkg-up dependency wasn't found when the extension was launched

Fix test runner cwd in monorepo

06 Jun 20:54

Choose a tag to compare

Fixes

  • When clicking "Run test" in a monorepo the cwd was wrong. We now search for the nearest parent directory that contains a package.json, then use it a cwd when running test.

Snapshot codelens

06 Jun 20:12

Choose a tag to compare

Small codelens now appears above snapshot call expressions
When clicked, it redirects you to the corresponding snapshot file, precisely at the snapshot value's location

See the video here :
https://twitter.com/julien_rpt/status/1666175232359497740