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

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