attempt to fix unit tests.

This commit is contained in:
Jordan Hewitt
2024-06-27 14:31:59 -07:00
parent 4561cfacd4
commit 562cae7f5a
20 changed files with 489 additions and 259 deletions

View File

@ -0,0 +1,11 @@
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"}),
]