mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
scripts update, tests temporary debug logging
This commit is contained in:
Vendored
+3
-2
@@ -90,7 +90,7 @@ module.exports =
|
||||
/******/ __webpack_require__.p = "";
|
||||
/******/
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 148);
|
||||
/******/ return __webpack_require__(__webpack_require__.s = 149);
|
||||
/******/ })
|
||||
/************************************************************************/
|
||||
/******/ ([
|
||||
@@ -8349,7 +8349,8 @@ module.exports = require("mkdirp");
|
||||
module.exports = require("reflect-metadata");
|
||||
|
||||
/***/ }),
|
||||
/* 148 */
|
||||
/* 148 */,
|
||||
/* 149 */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:removeTmpDir &&
|
||||
npm run test:compile &&
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js --report lcovonly &&
|
||||
cat ./coverage/lcov.info | $(npm bin)/coveralls &&
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:removeTmpDir &&
|
||||
npm run test:compile &&
|
||||
node test-tmp/test/dev/dev.js &&
|
||||
$(npm bin)/istanbul cover $(npm bin)/_mocha -- test-tmp/test/index.spec.js &&
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm run test:removeTmpDir &&
|
||||
npm run test:compile &&
|
||||
$(npm bin)/mocha test-tmp/test/index.spec.js &&
|
||||
npm run test:removeTmpDir
|
||||
+2
@@ -67,6 +67,8 @@ describe('BinaryExpressionControlFlowReplacer', () => {
|
||||
}
|
||||
|
||||
assert.closeTo(equalsValue / samplesCount, expectedValue, delta);
|
||||
|
||||
console.log(equalsValue / samplesCount);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
+2
@@ -67,6 +67,8 @@ describe('CallExpressionControlFlowReplacer', () => {
|
||||
}
|
||||
|
||||
assert.closeTo(equalsValue / samplesCount, expectedValue, delta);
|
||||
|
||||
console.log(equalsValue / samplesCount);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
+2
@@ -67,6 +67,8 @@ describe('LogicalExpressionControlFlowReplacer', () => {
|
||||
}
|
||||
|
||||
assert.closeTo(equalsValue / samplesCount, expectedValue, delta);
|
||||
|
||||
console.log(equalsValue / samplesCount);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user