Initial commit

This commit is contained in:
CrazyMax
2020-01-08 22:26:34 +01:00
commit ed73f152fc
20 changed files with 6828 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import fs = require('fs');
import * as installer from '../src/installer';
describe('installer', () => {
it('acquires 3.95 version of UPX', async () => {
const upx = await installer.getUPX('3.95');
expect(fs.existsSync(upx)).toBe(true);
}, 100000);
it('acquires latest version of UPX', async () => {
const upx = await installer.getUPX('latest');
expect(fs.existsSync(upx)).toBe(true);
}, 100000);
});