mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
New CLI option: exclude
This commit is contained in:
@@ -18,7 +18,7 @@ describe('JavaScriptObfuscator', () => {
|
||||
|
||||
let javaScriptObfuscator: IJavaScriptObfuscator;
|
||||
|
||||
describe('variant #1: default behaviour', () => {
|
||||
describe('Variant #1: default behaviour', () => {
|
||||
const regExp: RegExp = new RegExp(`sourceMappingURL=${sourceMapUrl}`);
|
||||
|
||||
let obfuscatedCode: string,
|
||||
@@ -53,7 +53,7 @@ describe('JavaScriptObfuscator', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('variant #2: `sourceMapBaseUrl` is set', () => {
|
||||
describe('Variant #2: `sourceMapBaseUrl` is set', () => {
|
||||
const sourceMapBaseUrl: string = 'http://localhost:9000';
|
||||
const regExp: RegExp = new RegExp(`sourceMappingURL=${sourceMapBaseUrl}/${sourceMapUrl}$`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user