mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
increase timeout limit for performance tests
This commit is contained in:
@@ -9,7 +9,7 @@ describe('JavaScriptObfuscator performance', () => {
|
||||
|
||||
describe('performance: multiple calls', () => {
|
||||
it('shows performance time with multiple obfuscator calls', function (): void {
|
||||
this.timeout(10000);
|
||||
this.timeout(100000);
|
||||
|
||||
for (let i: number = 0; i < iterationsCount; i++) {
|
||||
JavaScriptObfuscator.obfuscate(readFileAsString('./test/fixtures/sample.js'));
|
||||
@@ -21,7 +21,7 @@ describe('JavaScriptObfuscator performance', () => {
|
||||
|
||||
describe('performance: large source code', () => {
|
||||
it('shows performance time with large code size', function (): void {
|
||||
this.timeout(5000);
|
||||
this.timeout(100000);
|
||||
|
||||
JavaScriptObfuscator.obfuscate(readFileAsString('./test/fixtures/sample.js').repeat(iterationsCount));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user