fix(pdf): add the missing email_to to the quote fixtures

Quote requires email_to, so both PDF fixtures failed to type check.
Add the field and the two long-standing errors in tsc --noEmit are gone.
This commit is contained in:
Dave 2026-11-05 00:40:47 +02:00
parent 9ce6c97772
commit fc7043b364
2 changed files with 3 additions and 1 deletions

View file

@ -84,6 +84,7 @@ const baseCustomer: Customer = {
};
const baseQuote: Quote = {
email_to: "",
id: "q1",
collectionId: "pbc_quotes",
collectionName: "quotes",

View file

@ -93,6 +93,7 @@ const baseCustomer: Customer = {
};
const baseQuote: Quote = {
email_to: "",
id: "q1",
collectionId: "pbc_quotes",
collectionName: "quotes",
@ -444,4 +445,4 @@ describe("renderStockItemStocktakePdf", () => {
});
expect(buf.subarray(0, 5).toString("ascii")).toBe("%PDF-");
}, 30_000);
});
});