@reporters/silent 1.1.0 → 1.2.0

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,12 @@
1
1
  # Changelog
2
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
+
3
10
  ## [1.1.0](https://github.com/MoLow/reporters/compare/silent-v1.0.0...silent-v1.1.0) (2023-05-30)
4
11
 
5
12
 
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.0",
4
4
  "description": "A silent reporter for `node:test`",
5
5
  "keywords": [
6
6
  "node:test",
@@ -1,7 +1,9 @@
1
+ const { test } = require('node:test');
1
2
  const { spawnSync } = require('child_process');
2
3
  const assert = require('assert');
3
4
 
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(), '');
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
+ });