We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc8ba61 commit bec5f20Copy full SHA for bec5f20
src/components/__tests__/ActionBar.spec.js
@@ -24,8 +24,8 @@ describe("ActionBar", () => {
24
25
const buttons = wrapper.findAll("button");
26
expect(buttons.length).toBe(2); // Favorite and download buttons
27
- // g-link is mocked as <a>, so check for that
28
- expect(wrapper.find("a").exists()).toBe(true); // Wikidata link
+ // g-link is mocked as <a>, check for g-link component or link
+ expect(wrapper.find("g-link-stub").exists() || wrapper.find("a").exists()).toBe(true); // Wikidata link
29
});
30
31
it("gets correct Wikidata link", () => {
0 commit comments