mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Merge branch 'master' into cli-options-kebab-case-naming
# Conflicts: # dist/index.js
This commit is contained in:
@@ -23,16 +23,6 @@ describe('CLIUtils', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('getPackageConfig (): IPackageConfig', () => {
|
||||
it('should return `package.json` `name` field for current CLI program as object', () => {
|
||||
assert.property(CLIUtils.getPackageConfig(), 'name');
|
||||
});
|
||||
|
||||
it('should return `package.json` `version` field for current CLI program as object', () => {
|
||||
assert.property(CLIUtils.getPackageConfig(), 'version');
|
||||
});
|
||||
});
|
||||
|
||||
describe('getUserConfig (configPath: string): Object', () => {
|
||||
describe('variant #1: valid config file path', () => {
|
||||
const configDirName: string = 'test/fixtures';
|
||||
|
||||
Reference in New Issue
Block a user