const { describe, it } = require("node:test");
const assert = require("node:assert");
const { receiptKindToCopyType } = require("../lib/receipt-kind");

describe("receiptKindToCopyType", () => {
  it("maps kinds", () => {
    assert.strictEqual(receiptKindToCopyType("customer_receipt"), "COUNTER");
    assert.strictEqual(receiptKindToCopyType("kitchen_ticket"), "KITCHEN");
    assert.strictEqual(receiptKindToCopyType("packing_slip"), "PACKING");
  });
});
