From f24240eddffe71b1e887f4fcf051d4771e40451e Mon Sep 17 00:00:00 2001 From: Richard Moore Date: Thu, 27 Aug 2020 22:04:58 -0400 Subject: [PATCH] Updated dist files. --- packages/shims/package.json | 4 ++-- packages/tests/lib.esm/_version.d.ts | 2 +- packages/tests/lib.esm/_version.js | 2 +- packages/tests/lib.esm/index.d.ts | 4 ++-- packages/tests/lib.esm/index.js | 4 ++-- packages/tests/lib.esm/index.js.map | 2 +- packages/tests/lib.esm/reporter.d.ts | 2 ++ packages/tests/lib.esm/reporter.js | 11 ++++++++--- packages/tests/lib.esm/reporter.js.map | 2 +- packages/tests/lib/_version.d.ts | 2 +- packages/tests/lib/_version.js | 2 +- packages/tests/lib/index.d.ts | 4 ++-- packages/tests/lib/index.js | 1 + packages/tests/lib/index.js.map | 2 +- packages/tests/lib/reporter.d.ts | 2 ++ packages/tests/lib/reporter.js | 12 +++++++++--- packages/tests/lib/reporter.js.map | 2 +- packages/tests/package.json | 4 ++-- packages/tests/src.ts/_version.ts | 2 +- 19 files changed, 41 insertions(+), 25 deletions(-) diff --git a/packages/shims/package.json b/packages/shims/package.json index 509edf44f..648eaf318 100644 --- a/packages/shims/package.json +++ b/packages/shims/package.json @@ -26,7 +26,7 @@ "dist": "browserify ./src/index.js -o ./dist/index.js && uglifyjs --compress --mangle --output ./dist/index.min.js -- ./dist/index.js", "test": "echo \"Error: no test specified\" && exit 1" }, - "tarballHash": "0x16f6aa4e890988a6b1ed7dc9720a2b12baef0d3b1024bfa1411e47d4209cc8b2", + "tarballHash": "0x467b15771855ef575183199ea61680632cd68f35f62cdefcbcdf14a4316e8782", "types": "./lib/index.d.ts", - "version": "5.0.3" + "version": "5.0.4" } diff --git a/packages/tests/lib.esm/_version.d.ts b/packages/tests/lib.esm/_version.d.ts index 536e05567..cc4b9ea83 100644 --- a/packages/tests/lib.esm/_version.d.ts +++ b/packages/tests/lib.esm/_version.d.ts @@ -1 +1 @@ -export declare const version = "tests/5.0.5"; +export declare const version = "tests/5.0.6"; diff --git a/packages/tests/lib.esm/_version.js b/packages/tests/lib.esm/_version.js index 65070abc0..37c238304 100644 --- a/packages/tests/lib.esm/_version.js +++ b/packages/tests/lib.esm/_version.js @@ -1,2 +1,2 @@ -export const version = "tests/5.0.5"; +export const version = "tests/5.0.6"; //# sourceMappingURL=_version.js.map \ No newline at end of file diff --git a/packages/tests/lib.esm/index.d.ts b/packages/tests/lib.esm/index.d.ts index 4d399e526..a0da83eed 100644 --- a/packages/tests/lib.esm/index.d.ts +++ b/packages/tests/lib.esm/index.d.ts @@ -6,5 +6,5 @@ import "./test-providers"; import "./test-utils"; import "./test-wallet"; import "./test-wordlists"; -import { Reporter } from "./reporter"; -export { Reporter }; +import { LogFunc, Reporter, setLogFunc } from "./reporter"; +export { LogFunc, Reporter, setLogFunc }; diff --git a/packages/tests/lib.esm/index.js b/packages/tests/lib.esm/index.js index f69fd7d14..6a5a55322 100644 --- a/packages/tests/lib.esm/index.js +++ b/packages/tests/lib.esm/index.js @@ -7,6 +7,6 @@ import "./test-providers"; import "./test-utils"; import "./test-wallet"; import "./test-wordlists"; -import { Reporter } from "./reporter"; -export { Reporter }; +import { Reporter, setLogFunc } from "./reporter"; +export { Reporter, setLogFunc }; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/tests/lib.esm/index.js.map b/packages/tests/lib.esm/index.js.map index 4f57ef6ba..072475767 100644 --- a/packages/tests/lib.esm/index.js.map +++ b/packages/tests/lib.esm/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,2BAA2B,CAAC;AACnC,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EAAE,QAAQ,EAAE,CAAA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,gBAAgB,CAAC;AACxB,OAAO,iBAAiB,CAAC;AACzB,OAAO,2BAA2B,CAAC;AACnC,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAC1B,OAAO,cAAc,CAAC;AACtB,OAAO,eAAe,CAAC;AACvB,OAAO,kBAAkB,CAAC;AAE1B,OAAO,EAAW,QAAQ,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAE3D,OAAO,EAAW,QAAQ,EAAE,UAAU,EAAE,CAAA"} \ No newline at end of file diff --git a/packages/tests/lib.esm/reporter.d.ts b/packages/tests/lib.esm/reporter.d.ts index 0a1d1d9dd..cf6dd4b4e 100644 --- a/packages/tests/lib.esm/reporter.d.ts +++ b/packages/tests/lib.esm/reporter.d.ts @@ -1,5 +1,7 @@ interface Runner { on(event: string, callback: (...args: Array) => void): Runner; } +export declare type LogFunc = (message: string) => void; +export declare function setLogFunc(logFunc: LogFunc): void; export declare function Reporter(runner: Runner): void; export {}; diff --git a/packages/tests/lib.esm/reporter.js b/packages/tests/lib.esm/reporter.js index a1e2cf415..79b33fd02 100644 --- a/packages/tests/lib.esm/reporter.js +++ b/packages/tests/lib.esm/reporter.js @@ -20,6 +20,10 @@ function getDelta(t0) { } return '(' + minutes + ':' + seconds + ')'; } +let _logFunc = console.log.bind(console); +export function setLogFunc(logFunc) { + _logFunc = logFunc; +} export function Reporter(runner) { let suites = []; // Force Output; Keeps the console output alive with periodic updates @@ -42,7 +46,7 @@ export function Reporter(runner) { if (!message) { message = ''; } - console.log(getIndent() + message); + _logFunc(getIndent() + message); lastOutput = getTime(); } runner.on('suite', function (suite) { @@ -76,8 +80,8 @@ export function Reporter(runner) { if (extras.length) { extra = " (" + extras.join(",") + ") ******** WARNING! ********"; } - log(` Total Tests: ${suite._countPass}/${suite._countTotal} passed ${getDelta(suite._t0)} ${extra} `); - log(); + log(` Total Tests: ${suite._countPass}/${suite._countTotal} passed ${getDelta(suite._t0)} ${extra} \n`); + //log(); if (suites.length > 0) { let currentSuite = suites[suites.length - 1]; currentSuite._countFail += suite._countFail; @@ -87,6 +91,7 @@ export function Reporter(runner) { } else { clearTimeout(timer); + log(`# status:${(suite._countPass === suite._countTotal) ? 0 : 1}`); } }); runner.on('test', function (test) { diff --git a/packages/tests/lib.esm/reporter.js.map b/packages/tests/lib.esm/reporter.js.map index 71d616bfc..6ece678bb 100644 --- a/packages/tests/lib.esm/reporter.js.map +++ b/packages/tests/lib.esm/reporter.js.map @@ -1 +1 @@ -{"version":3,"file":"reporter.js","sourceRoot":"","sources":["../src.ts/reporter.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAE1B,YAAY,CAAC;AAEb,6CAA6C;AAC7C,MAAM,SAAS,GAAG,EAAE,CAAC;AAErB,SAAS,OAAO;IACZ,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,KAAK,CAAC,KAAa;IACxB,IAAI,KAAK,IAAI,CAAC,EAAE;QAAE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAAE;IAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED,SAAS,QAAQ,CAAC,EAAU;IACxB,IAAI,EAAE,GAAG,KAAK,CAAC,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;IACxC,IAAI,OAAO,GAAG,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IAC7B,IAAI,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;IACrC,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,EA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WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC;QAE9B,KAAK,CAAC,QAAQ,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,EAAE;YAClD,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;QAEH,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC,UAAS,GAAG;YACnC,GAAG,CAAC,IAAI,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC;QAEH,IAAI,KAAK,CAAC,KAAK,EAAE;YACb,GAAG,CAAC,cAAc,CAAC,CAAC;YACpB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,IAAY,EAAE,EAAE;gBAC7C,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;SACN;IACL,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,UAAS,IAAI;QAC3B,IAAI,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7C,YAAY,CAAC,UAAU,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,UAAS,IAAI;QAC9B,IAAI,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7C,YAAY,CAAC,UAAU,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;AACP,CAAC"} \ No newline at end of file diff --git a/packages/tests/lib/_version.d.ts b/packages/tests/lib/_version.d.ts index 536e05567..cc4b9ea83 100644 --- a/packages/tests/lib/_version.d.ts +++ b/packages/tests/lib/_version.d.ts @@ -1 +1 @@ -export declare const version = "tests/5.0.5"; +export declare const version = "tests/5.0.6"; diff --git a/packages/tests/lib/_version.js b/packages/tests/lib/_version.js index 4584fed6b..415d7cefc 100644 --- a/packages/tests/lib/_version.js +++ b/packages/tests/lib/_version.js @@ -1,4 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.version = "tests/5.0.5"; +exports.version = "tests/5.0.6"; //# sourceMappingURL=_version.js.map \ No newline at end of file diff --git a/packages/tests/lib/index.d.ts b/packages/tests/lib/index.d.ts index 4d399e526..a0da83eed 100644 --- a/packages/tests/lib/index.d.ts +++ b/packages/tests/lib/index.d.ts @@ -6,5 +6,5 @@ import "./test-providers"; import "./test-utils"; import "./test-wallet"; import "./test-wordlists"; -import { Reporter } from "./reporter"; -export { Reporter }; +import { LogFunc, Reporter, setLogFunc } from "./reporter"; +export { LogFunc, Reporter, setLogFunc }; diff --git a/packages/tests/lib/index.js b/packages/tests/lib/index.js index 9555bbb03..890e52a10 100644 --- a/packages/tests/lib/index.js +++ b/packages/tests/lib/index.js @@ -10,4 +10,5 @@ require("./test-wallet"); require("./test-wordlists"); var reporter_1 = require("./reporter"); exports.Reporter = reporter_1.Reporter; +exports.setLogFunc = reporter_1.setLogFunc; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/packages/tests/lib/index.js.map b/packages/tests/lib/index.js.map index cbb201ba2..2d3631042 100644 --- a/packages/tests/lib/index.js.map +++ b/packages/tests/lib/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,0BAAwB;AACxB,2BAAyB;AACzB,qCAAmC;AACnC,yBAAuB;AACvB,4BAA0B;AAC1B,wBAAsB;AACtB,yBAAuB;AACvB,4BAA0B;AAE1B,uCAAsC;AAE7B,mBAFA,mBAAQ,CAEA"} \ No newline at end of file +{"version":3,"file":"index.js","sourceRoot":"","sources":["../src.ts/index.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAEb,0BAAwB;AACxB,2BAAyB;AACzB,qCAAmC;AACnC,yBAAuB;AACvB,4BAA0B;AAC1B,wBAAsB;AACtB,yBAAuB;AACvB,4BAA0B;AAE1B,uCAA2D;AAEzC,mBAFA,mBAAQ,CAEA;AAAE,qBAFA,qBAAU,CAEA"} \ No newline at end of file diff --git a/packages/tests/lib/reporter.d.ts b/packages/tests/lib/reporter.d.ts index 0a1d1d9dd..cf6dd4b4e 100644 --- a/packages/tests/lib/reporter.d.ts +++ b/packages/tests/lib/reporter.d.ts @@ -1,5 +1,7 @@ interface Runner { on(event: string, callback: (...args: Array) => void): Runner; } +export declare type LogFunc = (message: string) => void; +export declare function setLogFunc(logFunc: LogFunc): void; export declare function Reporter(runner: Runner): void; export {}; diff --git a/packages/tests/lib/reporter.js b/packages/tests/lib/reporter.js index a1aaea024..73e6994fd 100644 --- a/packages/tests/lib/reporter.js +++ b/packages/tests/lib/reporter.js @@ -21,6 +21,11 @@ function getDelta(t0) { } return '(' + minutes + ':' + seconds + ')'; } +var _logFunc = console.log.bind(console); +function setLogFunc(logFunc) { + _logFunc = logFunc; +} +exports.setLogFunc = setLogFunc; function Reporter(runner) { var suites = []; // Force Output; Keeps the console output alive with periodic updates @@ -43,7 +48,7 @@ function Reporter(runner) { if (!message) { message = ''; } - console.log(getIndent() + message); + _logFunc(getIndent() + message); lastOutput = getTime(); } runner.on('suite', function (suite) { @@ -77,8 +82,8 @@ function Reporter(runner) { if (extras.length) { extra = " (" + extras.join(",") + ") ******** WARNING! ********"; } - log(" Total Tests: " + suite._countPass + "/" + suite._countTotal + " passed " + getDelta(suite._t0) + " " + extra + " "); - log(); + log(" Total Tests: " + suite._countPass + "/" + suite._countTotal + " passed " + getDelta(suite._t0) + " " + extra + " \n"); + //log(); if (suites.length > 0) { var currentSuite = suites[suites.length - 1]; currentSuite._countFail += suite._countFail; @@ -88,6 +93,7 @@ function Reporter(runner) { } else { clearTimeout(timer); + log("# status:" + ((suite._countPass === suite._countTotal) ? 0 : 1)); } }); runner.on('test', function (test) { diff --git a/packages/tests/lib/reporter.js.map b/packages/tests/lib/reporter.js.map index e6f876872..b75f826b9 100644 --- a/packages/tests/lib/reporter.js.map +++ b/packages/tests/lib/reporter.js.map @@ -1 +1 @@ -{"version":3,"file":"reporter.js","sourceRoot":"","sources":["../src.ts/reporter.ts"],"names":[],"mappings":"AAAA,0BAA0B;AAE1B,YAAY,CAAC;;AAEb,6CAA6C;AAC7C,IAAM,SAAS,GAAG,EAAE,CAAC;AAErB,SAAS,OAAO;IACZ,OAAO,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC;AAClC,CAAC;AAED,SAAS,KAAK,CAAC,KAAa;IACxB,IAAI,KAAK,IAAI,CAAC,EAAE;QAAE,OAAO,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;KAAE;IAC7C,OAAO,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5B,CAAC;AAED,SAAS,QAAQ,CAAC,EAAU;IACxB,IAAI,EAAE,GAAG,KAAK,CAAC,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC;IACxC,IAAI,OAAO,GAAG,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC;IAC7B,IAAI,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,CAAC,CAAC;IACrC,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QAAE,OAAO,GAAG,GAAG,GAAG,OAAO,CAAC;KAAE;IACvD,OAAO,GAAG,GAAG,OAAO,GAAG,GAAG,GAAG,OAAO,GAAG,GAAG,CAAC;AAC/C,CAAC;AAiBD,SAAgB,QAAQ,CAAC,MAAc;IACnC,IAAI,MAAM,GAAiB,EAAE,CAAC;IAE9B,qEAAqE;IACrE,IAAI,UAAU,GAAG,OAAO,EAAE,CAAC;IAC3B,SAAS,WAAW;QAChB,IAA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AI,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACxC,CAAC,CAAC,CAAC;QAEH,IAAI,KAAK,CAAC,KAAK,EAAE;YACb,GAAG,CAAC,cAAc,CAAC,CAAC;YACpB,KAAK,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,UAAC,IAAY;gBACzC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC,CAAC;YACrB,CAAC,CAAC,CAAC;SACN;IACL,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,UAAS,IAAI;QAC3B,IAAI,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7C,YAAY,CAAC,UAAU,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,EAAE,CAAC,SAAS,EAAE,UAAS,IAAI;QAC9B,IAAI,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;QAC7C,YAAY,CAAC,UAAU,EAAE,CAAC;IAC9B,CAAC,CAAC,CAAC;AACP,CAAC;AAjID,4BAiIC"} \ No newline at end of file diff --git a/packages/tests/package.json b/packages/tests/package.json index b9b430f96..dca995ca1 100644 --- a/packages/tests/package.json +++ b/packages/tests/package.json @@ -39,7 +39,7 @@ "scripts": { "test": "exit 1" }, - "tarballHash": "0x260d33d709dd38545678a3af27b1d2fdccbb4eaabd9648a1ce2359a5894ccd7f", + "tarballHash": "0x31e0430b48b91ee1086d84a13f6d65a36079051c118c303a8a201462b3d3e813", "types": "./lib/index.d.ts", - "version": "5.0.5" + "version": "5.0.6" } diff --git a/packages/tests/src.ts/_version.ts b/packages/tests/src.ts/_version.ts index db0a1ee6d..4307c8989 100644 --- a/packages/tests/src.ts/_version.ts +++ b/packages/tests/src.ts/_version.ts @@ -1 +1 @@ -export const version = "tests/5.0.5"; +export const version = "tests/5.0.6";