fix rendering and storage issues for unit tests.
This commit is contained in:
11
__fixtures__/initialProducts.ts
Normal file
11
__fixtures__/initialProducts.ts
Normal 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" }),
|
||||
];
|
Reference in New Issue
Block a user