Skip to content

Commit

Permalink
Update tests to reflect shift of show-in-history option.
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Mar 15, 2024
1 parent d1725aa commit 23d03da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions client/src/components/Dataset/DatasetName.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,7 @@ describe("Dataset Name", () => {
const state = wrapper.findAll(".name");
expect(state.length).toBe(1);
expect(state.at(0).text()).toBe("name");
const $linkShow = wrapper.find(".dropdown-item:first-child");
$linkShow.trigger("click");
expect(Array.isArray(wrapper.emitted().showDataset)).toBe(true);
const $linkCopy = wrapper.find(".dropdown-item:last-child");
const $linkCopy = wrapper.find(".dropdown-item:first-child");
$linkCopy.trigger("click");
expect(Array.isArray(wrapper.emitted().copyDataset)).toBe(true);
});
Expand Down

0 comments on commit 23d03da

Please sign in to comment.