@aelesia/testnpmpackage
Advanced tools
Comparing version 1.0.1 to 1.0.3
@@ -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 |
@@ -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 |
@@ -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,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' |
{ | ||
"name": "@aelesia/testnpmpackage", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "throwaway", | ||
@@ -5,0 +5,0 @@ "author": "", |
@@ -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) | ||
}) | ||
}) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
21627
286