6 Star 0 Fork 10

src-openEuler/nodejs-fast-levenshtein

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
fast-levenshtein_adjust-timeouts.patch 584 Bytes
Copy Edit Raw Blame History
lyn authored 2023-11-10 07:27 . 回退 'Pull Request !10: Upgrade to 2.0.6'
diff --git a/test/tests.js b/test/tests.js
index 54b9222..49628c5 100644
--- a/test/tests.js
+++ b/test/tests.js
@@ -108,7 +108,7 @@ var text1 = fs.readFileSync(__dirname + '/text1.txt', 'utf-8'),
exports['Async'] = {
'no progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
var startTime = new Date().valueOf();
@@ -124,7 +124,7 @@ exports['Async'] = {
});
},
'with progress callback': function(done) {
- this.timeout(20000);
+ this.timeout(40000);
var percents = [];
var progress = function(percent) {
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/nodejs-fast-levenshtein.git
git@gitee.com:src-openeuler/nodejs-fast-levenshtein.git
src-openeuler
nodejs-fast-levenshtein
nodejs-fast-levenshtein
master

Search