browser-ava 2.2.0 → 2.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.
Files changed (2) hide show
  1. package/README.md +36 -6
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -8,9 +8,10 @@
8
8
  [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
9
9
  [![Known Vulnerabilities](https://snyk.io/test/github/arlac77/browser-ava/badge.svg)](https://snyk.io/test/github/arlac77/browser-ava)
10
10
  [![Coverage Status](https://coveralls.io/repos/arlac77/browser-ava/badge.svg)](https://coveralls.io/github/arlac77/browser-ava)
11
+
11
12
  # browser-ava
12
- Run ava tests in the browser
13
13
 
14
+ Run ava tests in the browser
14
15
 
15
16
  ## What it does
16
17
 
@@ -26,11 +27,40 @@ browser-ava --webkit --chromium --firefox tests/*.mjs
26
27
 
27
28
  ## limitations
28
29
 
29
- - only supports ESM
30
+ * only supports ESM
30
31
 
32
+ # API
31
33
 
32
- ## install
34
+ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->
33
35
 
34
- ```console
35
- npm -g install browser-ava
36
- ```
36
+ ### Table of Contents
37
+
38
+ * [testModules](#testmodules)
39
+ * [test](#test)
40
+ * [Parameters](#parameters)
41
+ * [pluralize](#pluralize)
42
+ * [Parameters](#parameters-1)
43
+
44
+ ## testModules
45
+
46
+ Holds all tests
47
+
48
+ ## test
49
+
50
+ Collect all tests into testModules
51
+
52
+ ### Parameters
53
+
54
+ * `body` &#x20;
55
+ * `args` **...any**&#x20;
56
+
57
+ ## pluralize
58
+
59
+ Pluralize subjects
60
+
61
+ ### Parameters
62
+
63
+ * `word` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** subject to be pluralized
64
+ * `number` **[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)** if > 1 pluralize otherwize keep subject alone
65
+
66
+ Returns **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** pluralized subject if number > 1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-ava",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "provenance": true
@@ -39,7 +39,7 @@
39
39
  "chalk": "^5.3.0",
40
40
  "commander": "^12.0.0",
41
41
  "es-module-lexer": "^1.4.1",
42
- "globby": "^14.0.0",
42
+ "globby": "^14.0.1",
43
43
  "koa": "^2.15.0",
44
44
  "koa-static": "^5.0.0",
45
45
  "playwright": "^1.41.2",
@@ -53,7 +53,7 @@
53
53
  "semantic-release": "^23.0.2"
54
54
  },
55
55
  "engines": {
56
- "node": ">=20.11.0",
56
+ "node": ">=20.11.1",
57
57
  "bun": ">=1.0"
58
58
  },
59
59
  "repository": {