test(pleno-vue): queue two API responses for second ordering test too
This commit is contained in:
@@ -210,6 +210,9 @@ describe("OrderContentTable addon ordering", () => {
|
||||
product: { id: 9, name: "Addon A" },
|
||||
},
|
||||
];
|
||||
// OrderContentTable mounts twice on initial render (immediate watcher plus
|
||||
// a top-level call); queue two identical responses.
|
||||
requestHolder.responses.push({ data: { data: apiResponse } });
|
||||
requestHolder.responses.push({ data: { data: apiResponse } });
|
||||
|
||||
const wrapper = buildWrapper();
|
||||
|
||||
Reference in New Issue
Block a user