feat: add configurable operation delay

This commit is contained in:
root
2026-05-08 12:50:20 -04:00
parent 872f382815
commit c23461261b
44 changed files with 4770 additions and 193 deletions
+15
View File
@@ -0,0 +1,15 @@
const test = require('node:test');
const assert = require('node:assert/strict');
const fs = require('node:fs');
for (const file of ['README.md', 'docs/使用教程/使用教程.md']) {
test(`${file} documents operation delay`, () => {
const source = fs.readFileSync(file, 'utf8');
assert.match(source, /操作间延迟/);
assert.match(source, /默认开启/);
assert.match(source, /2\s*秒/);
assert.match(source, /分格|OTP|验证码/);
assert.match(source, /邮箱|短信|轮询/);
assert.match(source, /confirm-oauth|platform-verify/);
});
}