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

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

assert(source.includes(".preliminary-check-container"), "缺少结果总览容器样式");
assert(!source.includes("background: #f3f6fb;"), "结果总览容器不应保留浅灰背景");
