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

import { SettingsPage } from "../../../src/web/pages/settings";
import { renderWithProviders } from "../test-utils";

describe("SettingsPage", () => {
  test("渲染系统设置页面", () => {
    renderWithProviders(createElement(SettingsPage));

    expect(screen.getByText("系统设置")).not.toBeNull();
    expect(screen.getByText("页面建设中...")).not.toBeNull();
  });
});
