mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
Some refactoring
This commit is contained in:
@@ -3,7 +3,7 @@ import { EspreeFacade } from '../../../src/EspreeFacade';
|
||||
|
||||
|
||||
describe('EspreeFacade', () => {
|
||||
describe(`parse (input: string, config: espree.ParseOptions): ESTree.Program`, () => {
|
||||
describe(`parse`, () => {
|
||||
describe(`\`Unexpected token\` error code preview`, () => {
|
||||
describe('Variant #1: 5 lines of code', () => {
|
||||
const sourceCode: string = `` +
|
||||
|
||||
@@ -11,7 +11,7 @@ import { NO_ADDITIONAL_NODES_PRESET } from '../../../src/options/presets/NoCusto
|
||||
import { InversifyContainerFacade } from '../../../src/container/InversifyContainerFacade';
|
||||
|
||||
describe('JavaScriptObfuscator', () => {
|
||||
describe(`obfuscate (sourceCode: string): IObfuscationResult`, () => {
|
||||
describe(`obfuscate`, () => {
|
||||
describe(`source map`, () => {
|
||||
const code: string = 'var test = 1;';
|
||||
const sourceMapUrl: string = 'test.js.map';
|
||||
|
||||
Reference in New Issue
Block a user