fix(core): update

This commit is contained in:
2021-05-17 15:45:46 +00:00
parent 83a9cabab8
commit 4b5b2e7ca5
8 changed files with 10536 additions and 1059 deletions

View File

@ -3,7 +3,7 @@ import * as legal from '../ts/index';
tap.test('should create instance of licenseChecker', async () => {
const licenseChecker = await legal.createLicenseChecker();
let plainResultArray = await licenseChecker.createPlainResultArray(process.cwd());
const plainResultArray = await licenseChecker.createPlainResultArray(process.cwd());
expect(plainResultArray).to.be.instanceof(Array);
expect(plainResultArray[0]).to.have.property('license');
});