import { describe, expect, test } from "bun:test";

import { statusFilter } from "../../../src/web/constants/target-table-filters";

describe("target-table-filters", () => {
  describe("statusFilter", () => {
    test("包含全部选项", () => {
      expect(statusFilter).toBeDefined();
      expect(statusFilter!.type).toBe("single");
      const list = statusFilter!.list!;
      expect(list).toHaveLength(3);
      expect(list[0]!.label).toBe("全部");
      expect(list[1]!.label).toBe("UP");
      expect(list[2]!.label).toBe("DOWN");
    });
  });
});
