mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
test description update
This commit is contained in:
@@ -74,11 +74,11 @@ describe('FunctionDeclarationObfuscator', () => {
|
||||
);
|
||||
});
|
||||
|
||||
it('should obfuscate function name inside `functionDeclaration` parent scope', () => {
|
||||
it('should obfuscate function name', () => {
|
||||
assert.match(functionDeclarationNode.id.name, /^_0x\w+$/);
|
||||
});
|
||||
|
||||
it('should obfuscate function name in `functionDeclaration` calls inside `functionDeclaration` parent scope', () => {
|
||||
it('should obfuscate function name inside `functionDeclaration` parent scope', () => {
|
||||
assert.match((<any>expressionStatementNode).expression.callee.name, /^_0x\w+$/);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user