Skip to content

Commit d1baa74

Browse files
committed
tests: debugging browser tests failing to launch
1 parent 1806bbd commit d1baa74

File tree

12 files changed

+18
-22
lines changed

12 files changed

+18
-22
lines changed

Diff for: lib.commonjs/_tests/index.d.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import "./test-abi.js";
22
import "./test-address.js";
33
import "./test-contract.js";
4-
import "./test-contract-integ.js";
54
import "./test-crypto.js";
65
import "./test-hash.js";
76
import "./test-hash-typeddata.js";
87
import "./test-providers-avatar.js";
98
import "./test-providers-ccip.js";
109
import "./test-providers-fallback.js";
11-
import "./test-providers-jsonrpc.js";
12-
import "./test-providers-send.js";
1310
import "./test-providers-wildcard.js";
1411
import "./test-rlp.js";
1512
import "./test-transaction.js";

Diff for: lib.commonjs/_tests/index.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

Diff for: lib.commonjs/_tests/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib.commonjs/_tests/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib.esm/_admin/test-browser.js

+2-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib.esm/_admin/test-browser.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib.esm/_tests/index.d.ts

-3
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
import "./test-abi.js";
22
import "./test-address.js";
33
import "./test-contract.js";
4-
import "./test-contract-integ.js";
54
import "./test-crypto.js";
65
import "./test-hash.js";
76
import "./test-hash-typeddata.js";
87
import "./test-providers-avatar.js";
98
import "./test-providers-ccip.js";
109
import "./test-providers-fallback.js";
11-
import "./test-providers-jsonrpc.js";
12-
import "./test-providers-send.js";
1310
import "./test-providers-wildcard.js";
1411
import "./test-rlp.js";
1512
import "./test-transaction.js";

Diff for: lib.esm/_tests/index.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

Diff for: lib.esm/_tests/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib.esm/_tests/index.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: src.ts/_admin/test-browser.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@ export function start(_root: string, options: Options): Promise<Server> {
338338
await start(resolve("."), { port: 8000 });
339339

340340
const cmds = [
341+
"/Applications/Chromium.app/Contents/MacOS/Chromium",
341342
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome",
342343
"/usr/bin/chromium"
343344
].filter((f) => { try { fs.accessSync(f); return true; } catch (error) { return false; } });
@@ -346,7 +347,7 @@ export function start(_root: string, options: Options): Promise<Server> {
346347

347348
const cmd = cmds[0];
348349

349-
const args = [ "--headless", "--disable-gpu", "--remote-debugging-port=8022" ];
350+
const args = [ "--headless", "--disable-gpu", "--remote-debugging-port=8023" ];
350351
const browser = child_process.spawn(cmd, args);
351352

352353
let url: string = await new Promise((resolve, reject) => {

Diff for: src.ts/_tests/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import "./test-abi.js";
22
import "./test-address.js"
33
import "./test-contract.js";
4-
import "./test-contract-integ.js";
4+
//import "./test-contract-integ.js";
55
import "./test-crypto.js";
66
import "./test-hash.js";
77
import "./test-hash-typeddata.js";
@@ -11,8 +11,8 @@ import "./test-providers-ccip.js";
1111
//import "./test-providers-errors.js";
1212
//import "./test-providers-extra.js";
1313
import "./test-providers-fallback.js";
14-
import "./test-providers-jsonrpc.js";
15-
import "./test-providers-send.js";
14+
//import "./test-providers-jsonrpc.js";
15+
//import "./test-providers-send.js";
1616
import "./test-providers-wildcard.js";
1717
import "./test-rlp.js"
1818
import "./test-transaction.js";

0 commit comments

Comments
 (0)