@vscode/test-web 0.0.74 → 0.0.76

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.
@@ -444,58 +444,67 @@ async function cliMain() {
444
444
  }
445
445
  }
446
446
  if (extensionTestsPath) {
447
- runTests({
448
- extensionTestsPath,
449
- extensionDevelopmentPath,
450
- browserOptions,
451
- browserType,
452
- quality,
453
- commit,
454
- devTools,
455
- waitForDebugger,
456
- folderUri,
457
- folderPath,
458
- headless,
459
- printServerLog,
460
- permissions,
461
- extensionPaths,
462
- extensionIds,
463
- vsCodeDevPath,
464
- verbose,
465
- esm,
466
- coi,
467
- host,
468
- port,
469
- testRunnerDataDir,
470
- }).catch(e => {
447
+ try {
448
+ await runTests({
449
+ extensionTestsPath,
450
+ extensionDevelopmentPath,
451
+ browserOptions,
452
+ browserType,
453
+ quality,
454
+ commit,
455
+ devTools,
456
+ waitForDebugger,
457
+ folderUri,
458
+ folderPath,
459
+ headless,
460
+ printServerLog,
461
+ permissions,
462
+ extensionPaths,
463
+ extensionIds,
464
+ vsCodeDevPath,
465
+ verbose,
466
+ esm,
467
+ coi,
468
+ host,
469
+ port,
470
+ testRunnerDataDir,
471
+ });
472
+ }
473
+ catch (e) {
471
474
  console.log('Error running tests:', e);
472
475
  process.exit(1);
473
- });
476
+ }
474
477
  }
475
478
  else {
476
- open({
477
- extensionDevelopmentPath,
478
- browserOptions,
479
- browserType,
480
- quality,
481
- commit,
482
- devTools,
483
- waitForDebugger,
484
- folderUri,
485
- folderPath,
486
- headless,
487
- printServerLog,
488
- permissions,
489
- extensionPaths,
490
- extensionIds,
491
- vsCodeDevPath,
492
- verbose,
493
- esm,
494
- coi,
495
- host,
496
- port,
497
- testRunnerDataDir,
498
- });
479
+ try {
480
+ await open({
481
+ extensionDevelopmentPath,
482
+ browserOptions,
483
+ browserType,
484
+ quality,
485
+ commit,
486
+ devTools,
487
+ waitForDebugger,
488
+ folderUri,
489
+ folderPath,
490
+ headless,
491
+ printServerLog,
492
+ permissions,
493
+ extensionPaths,
494
+ extensionIds,
495
+ vsCodeDevPath,
496
+ verbose,
497
+ esm,
498
+ coi,
499
+ host,
500
+ port,
501
+ testRunnerDataDir,
502
+ });
503
+ }
504
+ catch (e) {
505
+ console.log('Error opening browser:', e);
506
+ process.exit(1);
507
+ }
499
508
  }
500
509
  }
501
510
  if (require.main === module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/test-web",
3
- "version": "0.0.74",
3
+ "version": "0.0.76",
4
4
  "scripts": {
5
5
  "install-extensions": "npm i --prefix=fs-provider && npm i --prefix=sample",
6
6
  "compile": "tsc -b ./ && npm run compile-fs-provider",
@@ -25,36 +25,36 @@
25
25
  "dependencies": {
26
26
  "@koa/cors": "^5.0.0",
27
27
  "@koa/router": "^14.0.0",
28
- "@playwright/browser-chromium": "^1.55.1",
29
- "tinyglobby": "0.2.14",
28
+ "@playwright/browser-chromium": "^1.56.1",
29
+ "tinyglobby": "^0.2.15",
30
30
  "gunzip-maybe": "^1.4.2",
31
31
  "http-proxy-agent": "^7.0.2",
32
32
  "https-proxy-agent": "^7.0.6",
33
- "koa": "^3.0.1",
33
+ "koa": "^3.1.1",
34
34
  "koa-morgan": "^1.0.1",
35
35
  "koa-mount": "^4.2.0",
36
36
  "koa-static": "^5.0.0",
37
37
  "minimist": "^1.2.8",
38
- "playwright": "^1.55.1",
38
+ "playwright": "^1.56.1",
39
39
  "tar-fs": "^3.1.1",
40
40
  "vscode-uri": "^3.1.0"
41
41
  },
42
42
  "devDependencies": {
43
43
  "@eslint/eslintrc": "^3.3.1",
44
- "@eslint/js": "^9.36.0",
45
- "@types/gunzip-maybe": "^1.4.2",
46
- "@types/koa": "^3.0.0",
47
- "@types/koa__router": "^12.0.4",
48
- "@types/koa-morgan": "^1.0.8",
44
+ "@eslint/js": "^9.39.1",
45
+ "@types/gunzip-maybe": "^1.4.3",
46
+ "@types/koa": "^3.0.1",
47
+ "@types/koa__router": "^12.0.5",
48
+ "@types/koa-morgan": "^1.0.9",
49
49
  "@types/koa-mount": "^4.0.5",
50
50
  "@types/koa-static": "^4.0.4",
51
51
  "@types/minimist": "^1.2.5",
52
52
  "@types/node": "^20.16.13",
53
53
  "@types/tar-fs": "^2.0.4",
54
- "@typescript-eslint/eslint-plugin": "^8.45.0",
55
- "@typescript-eslint/parser": "^8.45.0",
56
- "eslint": "^9.36.0",
57
- "@tony.ganchev/eslint-plugin-header": "^3.1.3",
54
+ "@typescript-eslint/eslint-plugin": "^8.46.3",
55
+ "@typescript-eslint/parser": "^8.46.3",
56
+ "eslint": "^9.39.1",
57
+ "@tony.ganchev/eslint-plugin-header": "^3.1.8",
58
58
  "typescript": "^5.9.3"
59
59
  },
60
60
  "license": "MIT",