fix(core): update
This commit is contained in:
@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user