fix(core): update
This commit is contained in:
0
test/test.d.ts
vendored
0
test/test.d.ts
vendored
@ -1 +0,0 @@
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInRlc3QudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
|
@ -1 +0,0 @@
|
||||
{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,IAAI,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CAAC;AACzC,IAAI,IAAI,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;AAE3B,YAAY,CAAC,GAAG,CAAC;IACb,IAAI,EAAC,8DAA8D;IACnE,MAAM,EAAC,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;IAC9B,EAAE,EAAE;QACA,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAA;IACrC,CAAC;CACJ,CAAC,CAAC"}
|
11
test/test.ts
11
test/test.ts
@ -0,0 +1,11 @@
|
||||
import { tap, expect } from '@pushrocks/tapbundle';
|
||||
import * as smartrequest from '@pushrocks/smartrequest';
|
||||
|
||||
tap.test('should prepare downloads', async (tools) => {
|
||||
const downLoadedFile: Buffer = (await smartrequest.getBinary('https://verdaccio.lossless.one/level/-/level-6.0.1.tgz')).body;
|
||||
console.log(downLoadedFile);
|
||||
});
|
||||
|
||||
tap.test('should extract files on disk', async () => {});
|
||||
|
||||
tap.start();
|
||||
|
Reference in New Issue
Block a user