feat(teams): add Team entity and cutover Person.department to Person.teamId
Co-authored-by: Asis Ferrer <aferrer@aferrer.dev> Co-committed-by: Asis Ferrer <aferrer@aferrer.dev>
This commit was merged in pull request #5.
This commit is contained in:
@@ -24,7 +24,7 @@ vi.mock("@/components/common/pageheader", () => ({
|
||||
|
||||
vi.mock("@/components/ui/button", () => ({
|
||||
Button: ({ children }: { children: React.ReactNode }) =>
|
||||
createElement("button", null, children),
|
||||
createElement("button", { type: "button" }, children),
|
||||
}))
|
||||
|
||||
vi.mock("next/link", () => ({
|
||||
@@ -109,7 +109,9 @@ describe("asset detail page", () => {
|
||||
)
|
||||
|
||||
const html = renderToStaticMarkup(
|
||||
await AssetDetailPage({ params: Promise.resolve({ assetId: "asset-1" }) }),
|
||||
await AssetDetailPage({
|
||||
params: Promise.resolve({ assetId: "asset-1" }),
|
||||
}),
|
||||
)
|
||||
|
||||
expect(html).toContain("Asset Details")
|
||||
|
||||
Reference in New Issue
Block a user