Skip to content

Commit 0048151

Browse files
committed
chore(test): remove unnecessary initialization of shopping_list tests
1 parent 5725e24 commit 0048151

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

test/shopping_list.test.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { Recipe } from "../src/classes/recipe";
66

77
describe("ShoppingList", () => {
88
const recipe1 = new Recipe();
9-
recipe1.metadata = {};
109
recipe1.ingredients = [
1110
{
1211
name: "flour",
@@ -34,13 +33,9 @@ describe("ShoppingList", () => {
3433
{ name: "salt", hidden: true },
3534
{ name: "spices" },
3635
];
37-
recipe1.cookware = [];
38-
recipe1.timers = [];
39-
recipe1.sections = [];
4036
recipe1.servings = 1;
4137

4238
const recipe2 = new Recipe();
43-
recipe2.metadata = {};
4439
recipe2.ingredients = [
4540
{
4641
name: "flour",
@@ -67,9 +62,6 @@ describe("ShoppingList", () => {
6762
unit: "pinch",
6863
},
6964
];
70-
recipe2.cookware = [];
71-
recipe2.timers = [];
72-
recipe2.sections = [];
7365

7466
it("should add a recipe's ingredients", () => {
7567
const shoppingList = new ShoppingList();

0 commit comments

Comments
 (0)