1
0
forked from baron/baron-sso

코드 테스트 실패 수정

This commit is contained in:
2026-06-11 08:55:41 +09:00
parent 4d77060b5d
commit 0bb3ccb850
13 changed files with 517 additions and 382 deletions

View File

@@ -1,8 +1,8 @@
import { describe, expect, it } from "vitest";
import type { TenantSummary } from "../../../lib/adminApi";
import {
filterTenantViewRowsBySearch,
filterTenantsByScope,
filterTenantViewRowsBySearch,
getTenantSearchMatchIds,
getTenantViewRows,
resolveTenantSelectionIds,
@@ -107,7 +107,8 @@ describe("TenantListPage tenant list helpers", () => {
true,
);
expect(filterTenantViewRowsBySearch(treeRows, "team-1").map((row) => row.id))
.toEqual(["team-1"]);
expect(
filterTenantViewRowsBySearch(treeRows, "team-1").map((row) => row.id),
).toEqual(["team-1"]);
});
});

View File

@@ -106,8 +106,8 @@ import {
type TenantImportResolution,
} from "../utils/tenantCsvImport";
import {
filterTenantViewRowsBySearch,
filterTenantsByScope,
filterTenantViewRowsBySearch,
getTenantSearchMatchIds,
getTenantViewRows,
resolveTenantSelectionIds,