Skip to content

Commit

Permalink
WIP - Partially Fixed NavbarLink spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
ulischulte committed Nov 11, 2022
1 parent aad708f commit a9db578
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { screen } from '@testing-library/vue';
import { Text, h } from 'vue';
import { routerKey } from 'vue-router';

import NavbarLink from '@/shell/NavbarLink';
import { render } from '@/test-utils';
Expand Down Expand Up @@ -38,6 +39,10 @@ describe('NavbarLink', () => {
},
},
});
expect(await screen.findByRole('anchor', { name: '🚀' })).toBeDefined();

const routerLink = await screen.findByText('🚀');
// FIXME
expect(routerLink).toBeDefined();
// expect(await screen.findByRole('anchor', { name: '🚀' })).toBeDefined();
});
});

0 comments on commit a9db578

Please sign in to comment.