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

const source = fs.readFileSync(
  path.resolve(__dirname, "../../src/api/ccdi/projectOverview.js"),
  "utf8"
);

[
  "getOverviewRiskModelCards",
  "getOverviewRiskModelPeople",
  "/ccdi/project/overview/risk-models/cards",
  "/ccdi/project/overview/risk-models/people",
  "matchMode",
].forEach((token) => assert(source.includes(token), token));
