@aelesia/testnpmpackage
Advanced tools
@@ -51,2 +51,8 @@ name: Build | ||
| - uses: actions/upload-artifact@master | ||
| with: | ||
| name: test_report | ||
| path: coverage/lcov-report | ||
| lint: | ||
@@ -53,0 +59,0 @@ if: contains(github.ref, 'refs/heads/develop') || contains(github.ref, 'refs/heads/release') || contains(github.ref, 'refs/heads/hotfix') || contains(github.ref, 'refs/heads/ci') |
+1
-1
@@ -6,5 +6,5 @@ "use strict"; | ||
| exports.some_class = Something_1.some_class; | ||
| exports.sj_employees = Something_1.sj_employees; | ||
| exports.bnet_id = Something_1.bnet_id; | ||
| var Something_2 = require("./src/Something"); | ||
| exports.default = Something_2.default; | ||
| //# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;AAAA,6CAAyE;AAAhE,oCAAA,aAAa,CAAA;AAAE,iCAAA,UAAU,CAAA;AAAE,mCAAA,YAAY,CAAA;AAChD,6CAAyC;AAAhC,8BAAA,OAAO,CAAA"} | ||
| {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;AAAA,6CAAoE;AAA3D,oCAAA,aAAa,CAAA;AAAE,iCAAA,UAAU,CAAA;AAAE,8BAAA,OAAO,CAAA;AAC3C,6CAAyC;AAAhC,8BAAA,OAAO,CAAA"} |
@@ -31,5 +31,9 @@ "use strict"; | ||
| function sj_employees() { | ||
| return ['th', 'cl', 'sh', 'js', 'jm']; | ||
| return ['th', 'js', 'zk', 'cl', 'jl']; | ||
| } | ||
| exports.sj_employees = sj_employees; | ||
| function bnet_id() { | ||
| return ['alsia', 'bkabite']; | ||
| } | ||
| exports.bnet_id = bnet_id; | ||
| //# sourceMappingURL=Something.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"Something.js","sourceRoot":"","sources":["../../src/Something.ts"],"names":[],"mappings":";;AAAA;IAAA;QACE,UAAK,GAAG,GAAG,CAAA;IAKb,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ASC;AATY,gCAAU;AAWvB,SAAgB,aAAa,CAAC,KAAa;IACzC,OAAO,CAAC,GAAG,CAAC,eAAe,CAAC,CAAA;IAC5B,OAAO,KAAK,CAAA;AACd,CAAC;AAHD,sCAGC;AAED,SAAgB,YAAY;IAC1B,OAAO,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;AACvC,CAAC;AAFD,oCAEC;AAED,SAAgB,OAAO;IACrB,OAAO,CAAC,OAAO,EAAE,SAAS,CAAC,CAAA;AAC7B,CAAC;AAFD,0BAEC"} |
@@ -72,3 +72,9 @@ "use strict"; | ||
| }); }); | ||
| test('bnet', function () { return __awaiter(void 0, void 0, void 0, function () { | ||
| return __generator(this, function (_a) { | ||
| expect(Something_1.bnet_id().length).toEqual(2); | ||
| return [2]; | ||
| }); | ||
| }); }); | ||
| }); | ||
| //# sourceMappingURL=Sample.test.js.map |
@@ -1,1 +0,1 @@ | ||
| {"version":3,"file":"Sample.test.js","sourceRoot":"","sources":["../../tests/Sample.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kCAAoD;AACpD,mDAAqC;AACrC,8CAA+C;AAE/C,QAAQ,CAAC,QAAQ,EAAE;IACjB,IAAI,CAAC,YAAY,EAAE;;;YACb,CAAC,GAAG,IAAI,kBAAU,CAAC,QAAQ,CAAC,CAAA;YAChC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;;;SACnC,CAAC,CAAA;IAEF,IAAI,CAAC,eAAe,EAAE;;YACpB,MAAM,CAAC,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;;;SAClD,CAAC,CAAA;IAEF,IAAI,CAAC,gBAAgB,EAAE;;YACrB,MAAM,CAAC,eAAc,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;;;SAC3C,CAAC,CAAA;IAEF,IAAI,CAAC,OAAO,EAAE;;YACZ,MAAM,CAAC,wBAAY,EAAE,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;;;SACzC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"} | ||
| {"version":3,"file":"Sample.test.js","sourceRoot":"","sources":["../../tests/Sample.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kCAAoD;AACpD,mDAAqC;AACrC,8CAAwD;AAExD,QAAQ,CAAC,QAAQ,EAAE;IACjB,IAAI,CAAC,YAAY,EAAE;;;YACb,CAAC,GAAG,IAAI,kBAAU,CAAC,QAAQ,CAAC,CAAA;YAChC,MAAM,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;;;SACnC,CAAC,CAAA;IAEF,IAAI,CAAC,eAAe,EAAE;;YACpB,MAAM,CAAC,qBAAa,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;;;SAClD,CAAC,CAAA;IAEF,IAAI,CAAC,gBAAgB,EAAE;;YACrB,MAAM,CAAC,eAAc,CAAC,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;;;SAC3C,CAAC,CAAA;IAEF,IAAI,CAAC,OAAO,EAAE;;YACZ,MAAM,CAAC,wBAAY,EAAE,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;;;SACzC,CAAC,CAAA;IAEF,IAAI,CAAC,MAAM,EAAE;;YACX,MAAM,CAAC,mBAAO,EAAE,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAA;;;SACpC,CAAC,CAAA;AAEJ,CAAC,CAAC,CAAA"} |
+1
-1
@@ -1,2 +0,2 @@ | ||
| export { some_function, some_class, sj_employees } from './src/Something' | ||
| export { some_function, some_class, bnet_id } from './src/Something' | ||
| export { default } from './src/Something' |
+1
-1
| { | ||
| "name": "@aelesia/testnpmpackage", | ||
| "version": "1.0.1", | ||
| "version": "1.0.3", | ||
| "description": "throwaway", | ||
@@ -5,0 +5,0 @@ "author": "", |
+5
-1
@@ -27,3 +27,7 @@ class some_singleton { | ||
| export function sj_employees(): string[] { | ||
| return ['th', 'cl', 'sh', 'js', 'jm'] | ||
| return ['th', 'js', 'zk', 'cl', 'jl'] | ||
| } | ||
| export function bnet_id(): string[] { | ||
| return ['alsia', 'bkabite'] | ||
| } |
| import { some_class, some_function } from '../index' | ||
| import some_singleton from '../index' | ||
| import { sj_employees } from '../src/Something' | ||
| import { sj_employees, bnet_id } from '../src/Something' | ||
@@ -22,2 +22,7 @@ describe('Sample', () => { | ||
| }) | ||
| test('bnet', async ()=> { | ||
| expect(bnet_id().length).toEqual(2) | ||
| }) | ||
| }) |
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
Found 1 instance in 1 package
21627
3.78%286
5.93%