mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
refactoring
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import * as escodegen from 'escodegen';
|
||||
|
||||
import { TStatement } from "../../src/types/nodes/TStatement";
|
||||
|
||||
import { IBlockStatementNode } from "../../src/interfaces/nodes/IBlockStatementNode";
|
||||
@@ -108,7 +110,10 @@ export class NodeMocks {
|
||||
type: NodeType.Literal,
|
||||
value: 'string',
|
||||
raw: `'string'`,
|
||||
'x-verbatim-property': `'string'`
|
||||
'x-verbatim-property': {
|
||||
content: `'string'`,
|
||||
precedence: escodegen.Precedence.Primary
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user