Skip to content

Commit 43842af

Browse files
committed
removing uncommented code
1 parent 3d80e6c commit 43842af

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

src/components/Registry/__tests__/ApplyFilterButton.spec.js

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,36 +22,4 @@ describe("ApplyFilterButton.vue", function () {
2222
it("can be instantiated", () => {
2323
expect(wrapper.vm.$options.name).toMatch("ApplyFilterButton");
2424
});
25-
26-
// it("can check when v-checkbox is selected", async () => {
27-
// let itemList = [
28-
// {
29-
// id: 1,
30-
// label: "foo",
31-
// value: "foo",
32-
// },
33-
// {
34-
// id: 2,
35-
// label: "bar",
36-
// value: "bar",
37-
// },
38-
// ];
39-
// let selecteditem = {
40-
// id: 2,
41-
// label: "bar",
42-
// value: "bar",
43-
// };
44-
// const component = wrapper.findComponent("[data-testid='filtersSelected']");
45-
// await component.setValue(itemList[1]);
46-
// expect(component.vm.modelValue).toStrictEqual(selecteditem);
47-
// });
48-
//
49-
// it("can check when Apply Filter button is clicked", async () => {
50-
// wrapper.vm.filtersSelected = ["metric_ids"];
51-
// const button = wrapper.get("[data-testid='applyFilter']");
52-
// button.trigger("click");
53-
// const advancedSearchStore = useAdvancedSearchStore();
54-
// expect(advancedSearchStore.fetchAdvancedSearchResults("metric_ids"))
55-
// .toHaveBeenCalled;
56-
// });
5725
});

0 commit comments

Comments
 (0)