browser-ava 1.3.42 → 1.3.43

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
@@ -19,6 +19,7 @@ If your code does not depend on any node api (process, fs, ...) then this runner
19
19
  browser-ava --webkit --chromium --firefox tests/*.mjs
20
20
  ```
21
21
 
22
+ ![Scrrenshot](docs/screenshot.png)
22
23
 
23
24
  ## limitations
24
25
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "browser-ava",
3
- "version": "1.3.42",
3
+ "version": "1.3.43",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -34,7 +34,7 @@
34
34
  "globby": "^13.1.4",
35
35
  "koa": "^2.14.2",
36
36
  "koa-static": "^5.0.0",
37
- "playwright": "^1.32.1",
37
+ "playwright": "^1.34.2",
38
38
  "ws": "^8.13.0"
39
39
  },
40
40
  "devDependencies": {
@@ -10,12 +10,10 @@ import Cors from "@koa/cors";
10
10
  import { WebSocketServer } from "ws";
11
11
  import { program, Option } from "commander";
12
12
  import { calculateSummary, summaryMessages } from "./browser/util.mjs";
13
- import { resolveImport } from "./resolver.mjs";
13
+ import { resolveImport, utf8EncodingOptions } from "./resolver.mjs";
14
14
  import { globby } from "globby";
15
15
  import chalk from "chalk";
16
16
 
17
- const utf8EncodingOptions = { encoding: "utf8" };
18
-
19
17
  const { version, description } = JSON.parse(
20
18
  readFileSync(
21
19
  new URL("../package.json", import.meta.url).pathname,
package/src/resolver.mjs CHANGED
@@ -1,7 +1,11 @@
1
1
  import { join, dirname, resolve } from "node:path";
2
2
  import { readFile } from "node:fs/promises";
3
3
 
4
- const utf8EncodingOptions = { encoding: "utf8" };
4
+ /**
5
+ * @type {Object}
6
+ * @property {BufferEncoding} encoding
7
+ */
8
+ export const utf8EncodingOptions = { encoding: "utf8" };
5
9
 
6
10
  /**
7
11
  * Order in which imports are searched