import { screen } from "@testing-library/react";
import { describe, expect, test } from "bun:test";
import { createElement } from "react";

import { UsersPage } from "../../../src/web/pages/users";
import { renderWithProviders } from "../test-utils";

describe("UsersPage", () => {
  test("渲染用户管理页面", () => {
    renderWithProviders(createElement(UsersPage));

    expect(screen.getByText("用户管理")).not.toBeNull();
    expect(screen.getByText("页面建设中...")).not.toBeNull();
  });
});
