import assert from "node:assert/strict"; import { readFileSync } from "node:fs"; const inventoryView = readFileSync(new URL("../src/views/InventoryLedgerView.vue", import.meta.url), "utf8"); const stockLotSelect = readFileSync(new URL("../src/components/StockLotTagSelect.vue", import.meta.url), "utf8"); const systemExtension = readFileSync(new URL("../src/views/SystemExtensionView.vue", import.meta.url), "utf8"); assert.match(stockLotSelect, /maxSelections/); assert.match(inventoryView, /生产台账入库/); assert.match(inventoryView, /一次生产出库只能选择一个材料库存批次号/); assert.match(inventoryView, /production-ledger-inbounds\/preview/); assert.match(inventoryView, /production-ledger-inbounds/); assert.match(inventoryView, /本次入库后该批材料结单/); assert.match( inventoryView, /\s*偏差说明<\/span>\s*