@reporters/silent 1.1.0 → 1.2.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/README.md CHANGED
@@ -21,3 +21,4 @@ node --test --test-reporter=@reporters/silent
21
21
 
22
22
  the output will be empty, but the tests will still run,
23
23
  and the exit code will be 0 if all tests pass, and 1 if any test fails.
24
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reporters/silent",
3
- "version": "1.1.0",
3
+ "version": "1.2.1",
4
4
  "description": "A silent reporter for `node:test`",
5
5
  "keywords": [
6
6
  "node:test",
@@ -8,6 +8,9 @@
8
8
  "reporter",
9
9
  "reporters"
10
10
  ],
11
+ "files": [
12
+ "./index.js"
13
+ ],
11
14
  "scripts": {
12
15
  "test": "node --test-reporter=spec --test-reporter-destination=stdout --test-reporter=../github/index.js --test-reporter-destination=stdout --test"
13
16
  },
package/CHANGELOG.md DELETED
@@ -1,15 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.1.0](https://github.com/MoLow/reporters/compare/silent-v1.0.0...silent-v1.1.0) (2023-05-30)
4
-
5
-
6
- ### Features
7
-
8
- * report node 20 features ([c99a76c](https://github.com/MoLow/reporters/commit/c99a76c0f6bef75abb2c053c82c88448b0c82690))
9
-
10
- ## 1.0.0 (2022-12-25)
11
-
12
-
13
- ### Features
14
-
15
- * add silent reporter ([#27](https://github.com/MoLow/reporters/issues/27)) ([d200b78](https://github.com/MoLow/reporters/commit/d200b7878384a2b8c930789418286d884eb49292))
@@ -1,7 +0,0 @@
1
- const { spawnSync } = require('child_process');
2
- const assert = require('assert');
3
-
4
- const child = spawnSync(process.execPath, ['--test-reporter', './index.js', '../../tests/example'], { env: {} });
5
-
6
- assert.strictEqual(child.stderr?.toString(), '');
7
- assert.strictEqual(child.stdout?.toString(), '');