@jsenv/test 1.4.0 → 1.5.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.
@@ -5275,9 +5275,9 @@ const createRuntimeUsingPlaywright = ({
5275
5275
  browser.on("disconnected", disconnectedCallback);
5276
5276
  })
5277
5277
  : Promise.resolve();
5278
- // for some reason without this 150ms timeout
5278
+ // for some reason without this timeout
5279
5279
  // browser.close() never resolves (playwright does not like something)
5280
- await new Promise((resolve) => setTimeout(resolve, 150));
5280
+ await new Promise((resolve) => setTimeout(resolve, 50));
5281
5281
  try {
5282
5282
  await browser.close();
5283
5283
  } catch (e) {
@@ -6145,17 +6145,17 @@ const EXIT_CODES = {
6145
6145
  };
6146
6146
 
6147
6147
  const IMPORTMAP_NODE_LOADER_FILE_URL = new URL(
6148
- "./importmap_node_loader.mjs?entry_point=",
6148
+ "./importmap_node_loader.mjs",
6149
6149
  import.meta.url,
6150
6150
  ).href;
6151
6151
 
6152
6152
  const NO_EXPERIMENTAL_WARNING_FILE_URL = new URL(
6153
- "./no_experimental_warnings.cjs?entry_point=",
6153
+ "./no_experimental_warnings.cjs",
6154
6154
  import.meta.url,
6155
6155
  ).href;
6156
6156
 
6157
6157
  const CONTROLLABLE_CHILD_PROCESS_URL = new URL(
6158
- "./controllable_child_process.mjs?entry_point=",
6158
+ "./controllable_child_process.mjs",
6159
6159
  import.meta.url,
6160
6160
  ).href;
6161
6161
 
@@ -6517,7 +6517,7 @@ const onceChildProcessEvent = (childProcess, type, callback) => {
6517
6517
  // https://github.com/avajs/ava/blob/576f534b345259055c95fa0c2b33bef10847a2af/lib/worker/base.js
6518
6518
 
6519
6519
  const CONTROLLABLE_WORKER_THREAD_URL = new URL(
6520
- "./controllable_worker_thread.mjs?entry_point=",
6520
+ "./controllable_worker_thread.mjs",
6521
6521
  import.meta.url,
6522
6522
  ).href;
6523
6523
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -34,19 +34,19 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@jsenv/abort": "4.2.4",
37
- "@jsenv/ast": "5.0.0",
38
- "@jsenv/filesystem": "4.2.4",
37
+ "@jsenv/ast": "5.1.0",
38
+ "@jsenv/filesystem": "4.2.5",
39
39
  "@jsenv/log": "3.4.0",
40
- "@jsenv/plugin-supervisor": "1.2.0",
41
- "@jsenv/urls": "2.1.0",
40
+ "@jsenv/plugin-supervisor": "1.3.0",
41
+ "@jsenv/urls": "2.2.0",
42
42
  "@jsenv/url-meta": "8.1.0",
43
43
  "@jsenv/uneval": "1.6.0",
44
44
  "@jsenv/utils": "2.0.1",
45
45
  "v8-to-istanbul": "9.1.0",
46
46
  "istanbul-lib-coverage": "3.2.0",
47
- "istanbul-lib-instrument": "5.2.1",
48
- "istanbul-lib-report": "3.0.0",
49
- "istanbul-reports": "3.1.5",
47
+ "istanbul-lib-instrument": "6.0.0",
48
+ "istanbul-lib-report": "3.0.1",
49
+ "istanbul-reports": "3.1.6",
50
50
  "@paralleldrive/cuid2": "2.2.1",
51
51
  "@c88/v8-coverage": "0.1.1",
52
52
  "strip-ansi": "7.1.0",
@@ -110,9 +110,9 @@ export const createRuntimeUsingPlaywright = ({
110
110
  browser.on("disconnected", disconnectedCallback);
111
111
  })
112
112
  : Promise.resolve();
113
- // for some reason without this 150ms timeout
113
+ // for some reason without this timeout
114
114
  // browser.close() never resolves (playwright does not like something)
115
- await new Promise((resolve) => setTimeout(resolve, 150));
115
+ await new Promise((resolve) => setTimeout(resolve, 50));
116
116
  try {
117
117
  await browser.close();
118
118
  } catch (e) {