实现结果总览模型与明细区块
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
const assert = require("assert");
|
||||
const fs = require("fs");
|
||||
const path = require("path");
|
||||
|
||||
const model = fs.readFileSync(
|
||||
path.resolve(
|
||||
__dirname,
|
||||
"../../src/views/ccdiProject/components/detail/RiskModelSection.vue"
|
||||
),
|
||||
"utf8"
|
||||
);
|
||||
const detail = fs.readFileSync(
|
||||
path.resolve(
|
||||
__dirname,
|
||||
"../../src/views/ccdiProject/components/detail/RiskDetailSection.vue"
|
||||
),
|
||||
"utf8"
|
||||
);
|
||||
|
||||
["模型预警次数统计", "命中模型涉及人员", "筛查模型", "预警类型"].forEach((token) =>
|
||||
assert(model.includes(token), token)
|
||||
);
|
||||
["涉险交易明细", "异常账户人员信息", "查看详情"].forEach((token) =>
|
||||
assert(detail.includes(token), token)
|
||||
);
|
||||
Reference in New Issue
Block a user