mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-09 21:14:22 +00:00
16 lines
567 B
TypeScript
16 lines
567 B
TypeScript
import { readFileSync } from "node:fs";
|
|
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
|
|
import { describe, expect, it } from "vitest";
|
|
|
|
describe("useFindingGroupResourceState", () => {
|
|
const currentDir = path.dirname(fileURLToPath(import.meta.url));
|
|
const filePath = path.join(currentDir, "use-finding-group-resource-state.ts");
|
|
const source = readFileSync(filePath, "utf8");
|
|
|
|
it("enables muted findings only for the finding-group resource drawer", () => {
|
|
expect(source).toContain("includeMutedInOtherFindings: true");
|
|
});
|
|
});
|