@reporters/testwatch 1.2.1 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.3.1](https://github.com/MoLow/reporters/compare/testwatch-v1.3.0...testwatch-v1.3.1) (2023-07-06)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * listen to `test:enqueue` event ([7c4a5b5](https://github.com/MoLow/reporters/commit/7c4a5b5435ee7cdaa2cd932fbd3c850ca8b1dcc2))
9
+
10
+ ## [1.3.0](https://github.com/MoLow/reporters/compare/testwatch-v1.2.1...testwatch-v1.3.0) (2023-07-05)
11
+
12
+
13
+ ### Features
14
+
15
+ * publish with provenance ([6ee1e46](https://github.com/MoLow/reporters/commit/6ee1e46040329edeb0f40f753093b6952984f001))
16
+
3
17
  ## [1.2.1](https://github.com/MoLow/reporters/compare/testwatch-v1.2.0...testwatch-v1.2.1) (2023-07-02)
4
18
 
5
19
 
package/README.md CHANGED
@@ -21,4 +21,5 @@ Run `testwatch` in the root of your project.
21
21
 
22
22
  ```bash
23
23
  testwatch
24
- ```
24
+ ```
25
+
package/index.js CHANGED
@@ -81,7 +81,7 @@ class REPL {
81
81
  async function* (source) {
82
82
  for await (const data of source) {
83
83
  yield data;
84
- if (data.type === 'test:start' && drained) {
84
+ if (drained && (data.type === 'test:start' || data.type === 'test:enqueue')) {
85
85
  this.#clear();
86
86
  drained = false;
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reporters/testwatch",
3
- "version": "1.2.1",
3
+ "version": "1.3.1",
4
4
  "description": "An interactive repl for `node:test`",
5
5
  "keywords": [
6
6
  "node:test",