Refactor project pages and update related docs
This commit is contained in:
@@ -23,4 +23,14 @@ assert(
|
||||
"组件脚本中应提供“最晚可选日期”为昨天的统一 helper"
|
||||
);
|
||||
|
||||
assert(
|
||||
/getPullBankInfoMinSelectableDate\(\)[\s\S]*?getPullBankInfoMaxSelectableDate\(\)[\s\S]*?setFullYear\([^)]*getFullYear\(\) - 1\)/.test(source),
|
||||
"拉取本行信息最早可选日期应跟随最晚可选日期滚动到近一年内"
|
||||
);
|
||||
|
||||
assert(
|
||||
!/return new Date\(2025, 0, 1\)/.test(source),
|
||||
"拉取本行信息日期范围不应再固定从 2025-01-01 开始"
|
||||
);
|
||||
|
||||
console.log("upload-data-pull-bank-info-date-limit test passed");
|
||||
|
||||
Reference in New Issue
Block a user