const assert = require("assert");
const fs = require("fs");
const path = require("path");

const source = fs.readFileSync(
  path.resolve(__dirname, "../../src/views/ccdiProject/components/detail/SpecialCheck.vue"),
  "utf8"
);

assert(!source.includes("专项排查功能开发中"), "不应继续保留占位文案");
assert(!source.includes("功能开发中..."), "不应继续保留功能开发中提示");
assert(source.includes("员工家庭资产负债专项核查"), "缺少专项核查卡片标题");
assert(source.includes("getFamilyAssetLiabilityList"), "主容器应接入真实列表接口");
