@reporters/silent 1.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reporters/silent",
3
- "version": "1.2.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,22 +0,0 @@
1
- # Changelog
2
-
3
- ## [1.2.0](https://github.com/MoLow/reporters/compare/silent-v1.1.0...silent-v1.2.0) (2023-07-05)
4
-
5
-
6
- ### Features
7
-
8
- * publish with provenance ([6ee1e46](https://github.com/MoLow/reporters/commit/6ee1e46040329edeb0f40f753093b6952984f001))
9
-
10
- ## [1.1.0](https://github.com/MoLow/reporters/compare/silent-v1.0.0...silent-v1.1.0) (2023-05-30)
11
-
12
-
13
- ### Features
14
-
15
- * report node 20 features ([c99a76c](https://github.com/MoLow/reporters/commit/c99a76c0f6bef75abb2c053c82c88448b0c82690))
16
-
17
- ## 1.0.0 (2022-12-25)
18
-
19
-
20
- ### Features
21
-
22
- * add silent reporter ([#27](https://github.com/MoLow/reporters/issues/27)) ([d200b78](https://github.com/MoLow/reporters/commit/d200b7878384a2b8c930789418286d884eb49292))
@@ -1,9 +0,0 @@
1
- const { test } = require('node:test');
2
- const { spawnSync } = require('child_process');
3
- const assert = require('assert');
4
-
5
- test('spwan with reporter', () => {
6
- const child = spawnSync(process.execPath, ['--test-reporter', './index.js', '../../tests/example'], { env: {} });
7
- assert.strictEqual(child.stderr?.toString(), '');
8
- assert.strictEqual(child.stdout?.toString(), '');
9
- });