tape-six 1.0.0 → 1.0.2
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 +8 -5
- package/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
[npm-img]: https://img.shields.io/npm/v/tape-six.svg
|
|
4
4
|
[npm-url]: https://npmjs.org/package/tape-six
|
|
5
5
|
|
|
6
|
-
tape-six is a [TAP](https://en.wikipedia.org/wiki/Test_Anything_Protocol)-based library for unit tests.
|
|
6
|
+
`tape-six` is a [TAP](https://en.wikipedia.org/wiki/Test_Anything_Protocol)-based library for unit tests.
|
|
7
7
|
It is written in the modern JavaScript for the modern JavaScript and works in [Node](https://nodejs.org/),
|
|
8
8
|
[Deno](https://deno.land/), [Bun](https://bun.sh/) and browsers.
|
|
9
9
|
|
|
@@ -223,18 +223,21 @@ It is super easy to run tests:
|
|
|
223
223
|
If you have a lot of tests, you can organize them using multiple files and directories.
|
|
224
224
|
`tape-six` provides multiple test runners that can run them in different environments.
|
|
225
225
|
|
|
226
|
-
###
|
|
226
|
+
### Configuring test runners
|
|
227
227
|
|
|
228
|
-
|
|
228
|
+
See [set-up tests](https://github.com/uhop/tape-six/wiki/Set-up-tests) for details.
|
|
229
229
|
|
|
230
|
-
###
|
|
230
|
+
### Command-line utilities
|
|
231
231
|
|
|
232
|
-
|
|
232
|
+
* [tape6](https://github.com/uhop/tape-six/wiki/Utility-%E2%80%90-tape6) — the main utility of the package to run tests in different environments.
|
|
233
|
+
* [tape6-server](https://github.com/uhop/tape-six/wiki/Utility-%E2%80%90-tape6-server) — a custom web server with a web application that helps running tests in browsers.
|
|
233
234
|
|
|
234
235
|
## Release notes
|
|
235
236
|
|
|
236
237
|
The most recent releases:
|
|
237
238
|
|
|
239
|
+
* 1.0.2 *Bugfix for Deno using the JSONL reporter.*
|
|
240
|
+
* 1.0.1 *Technical release: added more links.*
|
|
238
241
|
* 1.0.0 *The first official release.*
|
|
239
242
|
* 0.12.3 *Technical release: exposed internal classes for external utilities.*
|
|
240
243
|
* 0.12.2 *Fixed a minor serialization issue.*
|
package/index.js
CHANGED
|
@@ -67,7 +67,7 @@ const init = async () => {
|
|
|
67
67
|
reporter = jsonlReporter.report.bind(jsonlReporter);
|
|
68
68
|
}
|
|
69
69
|
} else if (isDeno) {
|
|
70
|
-
if (Deno.env.TAPE6_JSONL) {
|
|
70
|
+
if (Deno.env.get('TAPE6_JSONL')) {
|
|
71
71
|
const JSONLReporter = (await import('./src/JSONLReporter.js')).default,
|
|
72
72
|
jsonlReporter = new JSONLReporter(options);
|
|
73
73
|
reporter = jsonlReporter.report.bind(jsonlReporter);
|