From afd613a2a0c9fb548805ed36e23ad9a5d4bcc239 Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Mon, 13 Jan 2025 16:34:57 -0500 Subject: [PATCH] tests: added browser tests for sending --- lib.commonjs/_tests/index.d.ts | 1 + lib.commonjs/_tests/index.d.ts.map | 2 +- lib.commonjs/_tests/index.js | 2 +- lib.commonjs/_tests/index.js.map | 2 +- lib.esm/_admin/test-browser.d.ts.map | 2 +- lib.esm/_admin/test-browser.js | 6 +++++- lib.esm/_admin/test-browser.js.map | 2 +- lib.esm/_tests/index.d.ts | 1 + lib.esm/_tests/index.d.ts.map | 2 +- lib.esm/_tests/index.js | 2 +- lib.esm/_tests/index.js.map | 2 +- src.ts/_admin/test-browser.ts | 6 +++++- src.ts/_tests/index.ts | 2 +- 13 files changed, 21 insertions(+), 11 deletions(-) diff --git a/lib.commonjs/_tests/index.d.ts b/lib.commonjs/_tests/index.d.ts index 772ad9390..026bda3b1 100644 --- a/lib.commonjs/_tests/index.d.ts +++ b/lib.commonjs/_tests/index.d.ts @@ -7,6 +7,7 @@ import "./test-hash-typeddata.js"; import "./test-providers-avatar.js"; import "./test-providers-ccip.js"; import "./test-providers-fallback.js"; +import "./test-providers-send.js"; import "./test-providers-wildcard.js"; import "./test-rlp.js"; import "./test-transaction.js"; diff --git a/lib.commonjs/_tests/index.d.ts.map b/lib.commonjs/_tests/index.d.ts.map index f1caf66fc..d9665c466 100644 --- a/lib.commonjs/_tests/index.d.ts.map +++ b/lib.commonjs/_tests/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAIlC,OAAO,8BAA8B,CAAC;AAGtC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAIlC,OAAO,8BAA8B,CAAC;AAEtC,OAAO,0BAA0B,CAAC;AAClC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file diff --git a/lib.commonjs/_tests/index.js b/lib.commonjs/_tests/index.js index e008d741c..e8f7301a2 100644 --- a/lib.commonjs/_tests/index.js +++ b/lib.commonjs/_tests/index.js @@ -14,7 +14,7 @@ require("./test-providers-ccip.js"); //import "./test-providers-extra.js"; require("./test-providers-fallback.js"); //import "./test-providers-jsonrpc.js"; -//import "./test-providers-send.js"; +require("./test-providers-send.js"); require("./test-providers-wildcard.js"); require("./test-rlp.js"); require("./test-transaction.js"); diff --git a/lib.commonjs/_tests/index.js.map b/lib.commonjs/_tests/index.js.map index 1cf285862..dca1895de 100644 --- a/lib.commonjs/_tests/index.js.map +++ b/lib.commonjs/_tests/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":";;AAAA,yBAAuB;AACvB,6BAA0B;AAC1B,8BAA4B;AAC5B,oCAAoC;AACpC,4BAA0B;AAC1B,0BAAwB;AACxB,oCAAkC;AAClC,sCAAoC;AACpC,oCAAkC;AAClC,oCAAoC;AACpC,sCAAsC;AACtC,qCAAqC;AACrC,wCAAsC;AACtC,uCAAuC;AACvC,oCAAoC;AACpC,wCAAsC;AACtC,yBAAsB;AACtB,iCAA+B;AAC/B,iCAA+B;AAC/B,gCAA8B;AAC9B,iCAA+B;AAC/B,gCAA8B;AAC9B,4BAA0B;AAC1B,+BAA6B;AAC7B,iCAA+B;AAC/B,qCAAmC;AACnC,+BAA6B"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":";;AAAA,yBAAuB;AACvB,6BAA0B;AAC1B,8BAA4B;AAC5B,oCAAoC;AACpC,4BAA0B;AAC1B,0BAAwB;AACxB,oCAAkC;AAClC,sCAAoC;AACpC,oCAAkC;AAClC,oCAAoC;AACpC,sCAAsC;AACtC,qCAAqC;AACrC,wCAAsC;AACtC,uCAAuC;AACvC,oCAAkC;AAClC,wCAAsC;AACtC,yBAAsB;AACtB,iCAA+B;AAC/B,iCAA+B;AAC/B,gCAA8B;AAC9B,iCAA+B;AAC/B,gCAA8B;AAC9B,4BAA0B;AAC1B,+BAA6B;AAC7B,iCAA+B;AAC/B,qCAAmC;AACnC,+BAA6B"} \ No newline at end of file diff --git a/lib.esm/_admin/test-browser.d.ts.map b/lib.esm/_admin/test-browser.d.ts.map index 2a8e38927..02a6a84d8 100644 --- a/lib.esm/_admin/test-browser.d.ts.map +++ b/lib.esm/_admin/test-browser.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"test-browser.d.ts","sourceRoot":"","sources":["../../src.ts/_admin/test-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAgB,MAAM,EAAE,MAAM,MAAM,CAAC;AAuB5C,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAShD;AAOD,qBAAa,UAAU;;IACnB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;gBAclB,GAAG,EAAE,MAAM;IA4EvB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAKzB;IAED,IAAI,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAE1B;IAEK,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAO/C,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAahD,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7C;AAED,MAAM,MAAM,OAAO,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAkCF,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CA0GtE"} \ No newline at end of file +{"version":3,"file":"test-browser.d.ts","sourceRoot":"","sources":["../../src.ts/_admin/test-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;;AAQH,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAgB,MAAM,EAAE,MAAM,MAAM,CAAC;AAuB5C,wBAAgB,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAShD;AAOD,qBAAa,UAAU;;IACnB,QAAQ,CAAC,SAAS,EAAE,SAAS,CAAC;gBAclB,GAAG,EAAE,MAAM;IA6EvB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAKzB;IAED,IAAI,IAAI,IAAI,OAAO,CAAC,MAAM,CAAC,CAE1B;IAEK,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAO/C,KAAK,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAahD,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAG7C;AAED,MAAM,MAAM,OAAO,GAAG;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACtC,CAAC;AAkCF,wBAAgB,KAAK,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,MAAM,CAAC,CA0GtE"} \ No newline at end of file diff --git a/lib.esm/_admin/test-browser.js b/lib.esm/_admin/test-browser.js index d91ac51f4..00d508fe6 100644 --- a/lib.esm/_admin/test-browser.js +++ b/lib.esm/_admin/test-browser.js @@ -94,6 +94,7 @@ export class CDPSession { return; } if (msg.error) { + console.log(`ERROR: ${msg.error}`); responder.reject(new Error(msg.error)); } else { @@ -326,5 +327,8 @@ export function start(_root, options) { const status = await session.done; console.log("STATUS:", status); process.exit(status); -})(); +})().catch((error) => { + console.log("ERROR"); + console.log(error); +}); //# sourceMappingURL=test-browser.js.map \ No newline at end of file diff --git a/lib.esm/_admin/test-browser.js.map b/lib.esm/_admin/test-browser.js.map index ef84c2df2..0f2b1fb81 100644 --- a/lib.esm/_admin/test-browser.js.map +++ b/lib.esm/_admin/test-browser.js.map @@ -1 +1 @@ -{"version":3,"file":"test-browser.js","sourceRoot":"","sources":["../../src.ts/_admin/test-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,gDAAgD;AAEhD,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,aAAa,MAAM,eAAe,CAAC;AAC1C,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAU,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,MAAM,KAAK,GAA2B;IACpC,GAAG,EAAE,UAAU;IACf,OAAO,EAAE,uBAAuB;IAChC,GAAG,EAAE,+BAA+B;IACpC,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,GAAG,EAAE,cAAc;IACnB,EAAE,EAAE,wBAAwB;IAC5B,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,kBAAkB;IACxB,GAAG,EAAE,kBAAkB;IACvB,EAAE,EAAE,eAAe;IACnB,GAAG,EAAE,WAAW;IAChB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,wBAAwB;IAC7B,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,uBAAuB;CAC9B,CAAC;AAEF,MAAM,UAAU,OAAO,CAAC,QAAgB;IACpC,MAAM,IAAI,GAAG,KAAK,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,WAAW,E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AAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;oBAClB,OAAO;iBACV;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;IACH,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAEzB,MAAM,OAAO,GAAG,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;IACpC,MAAM,OAAO,CAAC,KAAK,CAAC;IACpB,MAAM,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAG,CAAC,CAAC;IAC1C,MAAM,OAAO,CAAC,QAAQ,CAAC,wBAAwB,CAAC,CAAC;IAEjD,MAAM,MAAM,GAAG,MAAM,OAAO,CAAC,IAAI,CAAC;IAClC,OAAO,CAAC,GAAG,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACzB,CAAC,CAAC,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"test-browser.js","sourceRoot":"","sources":["../../src.ts/_admin/test-browser.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,gDAAgD;AAEhD,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,aAAa,MAAM,eAAe,CAAC;AAC1C,OAAO,IAAI,MAAM,MAAM,CAAC;AAExB,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,CAAC;AAE/B,OAAO,EAAE,YAAY,EAAU,MAAM,MAAM,CAAC;AAC5C,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAErC,MAAM,KAAK,GAA2B;IACpC,GAAG,EAAE,UAAU;IACf,OAAO,EAAE,uBAAuB;IAChC,GAAG,EAAE,+BAA+B;IACpC,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,GAAG,EAAE,cAAc;IACnB,EAAE,EAAE,wBAAwB;IAC5B,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY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tests/index.d.ts b/lib.esm/_tests/index.d.ts index 772ad9390..026bda3b1 100644 --- a/lib.esm/_tests/index.d.ts +++ b/lib.esm/_tests/index.d.ts @@ -7,6 +7,7 @@ import "./test-hash-typeddata.js"; import "./test-providers-avatar.js"; import "./test-providers-ccip.js"; import "./test-providers-fallback.js"; +import "./test-providers-send.js"; import "./test-providers-wildcard.js"; import "./test-rlp.js"; import "./test-transaction.js"; diff --git a/lib.esm/_tests/index.d.ts.map b/lib.esm/_tests/index.d.ts.map index f1caf66fc..d9665c466 100644 --- a/lib.esm/_tests/index.d.ts.map +++ b/lib.esm/_tests/index.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAIlC,OAAO,8BAA8B,CAAC;AAGtC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAE5B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAIlC,OAAO,8BAA8B,CAAC;AAEtC,OAAO,0BAA0B,CAAC;AAClC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file diff --git a/lib.esm/_tests/index.js b/lib.esm/_tests/index.js index faca7452a..4b05c3f92 100644 --- a/lib.esm/_tests/index.js +++ b/lib.esm/_tests/index.js @@ -12,7 +12,7 @@ import "./test-providers-ccip.js"; //import "./test-providers-extra.js"; import "./test-providers-fallback.js"; //import "./test-providers-jsonrpc.js"; -//import "./test-providers-send.js"; +import "./test-providers-send.js"; import "./test-providers-wildcard.js"; import "./test-rlp.js"; import "./test-transaction.js"; diff --git a/lib.esm/_tests/index.js.map b/lib.esm/_tests/index.js.map index a9de1cb09..48540e69f 100644 --- a/lib.esm/_tests/index.js.map +++ b/lib.esm/_tests/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAC5B,oCAAoC;AACpC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,oCAAoC;AACpC,sCAAsC;AACtC,qCAAqC;AACrC,OAAO,8BAA8B,CAAC;AACtC,uCAAuC;AACvC,oCAAoC;AACpC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src.ts/_tests/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,CAAC;AACvB,OAAO,mBAAmB,CAAA;AAC1B,OAAO,oBAAoB,CAAC;AAC5B,oCAAoC;AACpC,OAAO,kBAAkB,CAAC;AAC1B,OAAO,gBAAgB,CAAC;AACxB,OAAO,0BAA0B,CAAC;AAClC,OAAO,4BAA4B,CAAC;AACpC,OAAO,0BAA0B,CAAC;AAClC,oCAAoC;AACpC,sCAAsC;AACtC,qCAAqC;AACrC,OAAO,8BAA8B,CAAC;AACtC,uCAAuC;AACvC,OAAO,0BAA0B,CAAC;AAClC,OAAO,8BAA8B,CAAC;AACtC,OAAO,eAAe,CAAA;AACtB,OAAO,uBAAuB,CAAC;AAC/B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,sBAAsB,CAAC;AAC9B,OAAO,kBAAkB,CAAC;AAC1B,OAAO,qBAAqB,CAAC;AAC7B,OAAO,uBAAuB,CAAC;AAC/B,OAAO,2BAA2B,CAAC;AACnC,OAAO,qBAAqB,CAAC"} \ No newline at end of file diff --git a/src.ts/_admin/test-browser.ts b/src.ts/_admin/test-browser.ts index a3149c4e8..0c070540b 100644 --- a/src.ts/_admin/test-browser.ts +++ b/src.ts/_admin/test-browser.ts @@ -124,6 +124,7 @@ export class CDPSession { } if (msg.error) { + console.log(`ERROR: ${ msg.error }`); responder.reject(new Error(msg.error)); } else { responder.resolve(msg.result); @@ -376,5 +377,8 @@ export function start(_root: string, options: Options): Promise { const status = await session.done; console.log("STATUS:", status); process.exit(status); -})(); +})().catch((error) => { + console.log("ERROR"); + console.log(error); +}); diff --git a/src.ts/_tests/index.ts b/src.ts/_tests/index.ts index cfccb54b8..9a3b3ef47 100644 --- a/src.ts/_tests/index.ts +++ b/src.ts/_tests/index.ts @@ -12,7 +12,7 @@ import "./test-providers-ccip.js"; //import "./test-providers-extra.js"; import "./test-providers-fallback.js"; //import "./test-providers-jsonrpc.js"; -//import "./test-providers-send.js"; +import "./test-providers-send.js"; import "./test-providers-wildcard.js"; import "./test-rlp.js" import "./test-transaction.js";