Fix test depending on user-specified label

This commit is contained in:
Koen Vlaswinkel
2023-02-15 13:56:53 +01:00
parent ebe2f89ca6
commit defc3816e7

View File

@@ -497,7 +497,7 @@ describe("QueryHistoryManager", () => {
]);
expect(showBinaryChoiceDialogSpy).toHaveBeenCalledWith(
"You are about to delete this query: query-name. Are you sure?",
"You are about to delete this query: a-query-name (javascript). Are you sure?",
);
});
@@ -581,7 +581,7 @@ describe("QueryHistoryManager", () => {
it("should show a modal asking 'Are you sure?'", () => {
expect(showBinaryChoiceDialogSpy).toHaveBeenCalledWith(
"You are about to delete this query: query-name. Are you sure?",
"You are about to delete this query: a-query-name (javascript). Are you sure?",
);
});
});