Some refactoring

This commit is contained in:
sanex3339
2018-05-24 11:22:54 +03:00
parent 9dada84322
commit 4b74976cc7
86 changed files with 886 additions and 990 deletions
@@ -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';