v0.6.2
Improvements
Enhanced watch mode (#17)
Previously, wrightplay utilized the esbuild stdin and relied on the watch API to monitor file changes. However, this approach presented issues, such as errors when test files were deleted and a lack of support for tracking the creation of new test files.
With this update, it starts to use a custom file watcher that not only resolves the problem of errors upon test file deletion but also extends its capabilities to encompass the creation, modification, and deletion of most test files and imported files. This enhancement ensures a more robust and seamless development experience, helping you effortlessly keep track of file changes while working on your projects.
Less pollution (#21)
In the past, wrightplay occupied the /stdin.js
path to inject test files. With this update, we have changed it to /__wrightplay__/stdin.js
, significantly reducing the likelihood of collisions.
Fixes
- Wrightplay will now throw and exit if no test file is found in non-watch mode. (#19)
- Corrected source-mapped stack traces for entry points that are not direct children of the current working directory. (#21)
- Discarded errors caused by auto-rerun navigations in watch mode. (#21)
- Added support for specifying a setup path without using a
./
prefix. (#22)
Details
- feat(runner): more flexible watch mode by @PaperStrike in #17
- refactor: split client and server types by @PaperStrike in #18
- fix(runner): static dir path & no test behavior by @PaperStrike in #19
- refactor: use ts-parser-service to resolve eslint paths by @PaperStrike in #20
- fix(runner): minimize wrightplay pollution by @PaperStrike in #21
- fix(runner): resolve the setup file path to import by @PaperStrike in #22
Full Changelog: v0.6.0...v0.6.2