Files
ccdi/ruoyi-ui/tests/unit/risk-detail-employee-credit-negative-pagination.test.js

23 lines
595 B
JavaScript
Raw Normal View History

const assert = require("assert");
const fs = require("fs");
const path = require("path");
const source = fs.readFileSync(
path.resolve(
__dirname,
"../../src/views/ccdiProject/components/detail/RiskDetailSection.vue"
),
"utf8"
);
[
"employeeCreditNegativeList",
"employeeCreditNegativeTotal",
"employeeCreditNegativePageNum",
"employeeCreditNegativePageSize",
"employeeCreditNegativeLoading",
"loadEmployeeCreditNegative",
"handleEmployeeCreditNegativePageChange",
"getOverviewEmployeeCreditNegative",
].forEach((token) => assert(source.includes(token), token));