import { readFileSync } from "node:fs"; import { join } from "node:path"; import { describe, expect, it } from "vitest"; const root = process.cwd(); const dailyReportSource = readFileSync( join(root, "src/views/dashboards/departmentDashboard/modules/daily-report/DepartmentDailyReport.vue"), "utf8" ); describe("DepartmentDailyReport weather wiring", () => { it("passes selected departments and selected range to DepartmentWeather", () => { expect(dailyReportSource).toContain("