footer.width.test.ts 329 B

123456789
  1. import { describe, expect, test } from "bun:test"
  2. import { footerWidthPolicy } from "../../src/mini/footer.width"
  3. describe("run footer width", () => {
  4. test("preserves the dialog breakpoint", () => {
  5. expect(footerWidthPolicy(79).dialog.narrow).toBe(true)
  6. expect(footerWidthPolicy(80).dialog.narrow).toBe(false)
  7. })
  8. })