fix rendering and storage issues for unit tests.

This commit is contained in:
Jordan
2024-06-28 06:04:50 -07:00
parent ab7a43ef84
commit 3d03f1d9e8
6 changed files with 43 additions and 25 deletions

View File

@ -0,0 +1,11 @@
import { Product } from "@/lib/product";
import { area, length } from "enheter";
export const products = [
// Sheet goods
new Product(35, area("squareFoot", 4 * 8), { name: "Plywood" }),
new Product(45, area("squareFoot", 4 * 8), { name: "OSB" }),
new Product(45, area("squareFoot", 4 * 8), { name: "MDF" }),
// Beams and trim
new Product(45, length("foot", 1), { name: "trim" }),
];