We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec5f20 commit d41fe8dCopy full SHA for d41fe8d
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>, check for g-link component or link
28
- expect(wrapper.find("g-link-stub").exists() || wrapper.find("a").exists()).toBe(true); // Wikidata link
+ // g-link component exists (may be stubbed)
+ expect(wrapper.html()).toContain("g-link"); // Wikidata link
29
});
30
31
it("gets correct Wikidata link", () => {
0 commit comments