You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/recipe_choices.test.ts
+64Lines changed: 64 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -533,5 +533,69 @@ Add @potato{1%=large|1.5%cup}|carrot{1%large} and @&potato{1%=small|0.5%cup}|&ca
533
533
expect(syrup?.usedAsPrimary).toBeUndefined();
534
534
expect(syrup?.quantities).toBeUndefined();
535
535
});
536
+
537
+
it("correctly filters subgroup alternatives when multiple variants share the same subgroup key",()=>{
538
+
constrecipe=newRecipe(`
539
+
[*] Add @|sour/1|simple syrup{15%ml}, @|sour/1|lemon juice{30%ml}, @gin{45%ml} and stir. You can replace the simple syrup and lemon juice by @|sour|sour mix{30%ml}
540
+
541
+
[Tom Collins] Add @|sour/1|simple syrup{15%ml}, @|sour/1|lemon juice{30%ml}, @Old Tom Gin{45%ml} and stir. You can replace the simple syrup and lemon juice by @|sour|sour mix{30%ml}
0 commit comments