Remove unneeded unit test.
This commit is contained in:
parent
c5c5b05f46
commit
461f09bf44
1 changed files with 0 additions and 16 deletions
|
|
@ -40,22 +40,6 @@ describe('menu-modal.vue', () => {
|
|||
expect(wrapper.html()).toContain('Your privacy choices');
|
||||
});
|
||||
|
||||
test('Icon for link to "Privacy Policies" page is displayed with the correct alternate text', () => {
|
||||
// NOTE: We need a way to target a specific <textLink> component so we can be sure that
|
||||
// an icon is coming from a specific <textLink> component.
|
||||
// That requires an additional prop in the <textLink> component. Will hold off on adding the prop
|
||||
// until there is more clarity on how we handle shared components.
|
||||
// For now the test is below is the best we can do.
|
||||
|
||||
// Arrange
|
||||
const wrapper = mount(menuModal);
|
||||
|
||||
// Expect
|
||||
const icon = wrapper.find('[data-id="ccpa-icon"]');
|
||||
expect(icon.isVisible()).toBe(true);
|
||||
expect(icon.attributes('alt')).toBe('Your privacy choices');
|
||||
});
|
||||
|
||||
it('Should return Warranty text link text', async () => {
|
||||
// Act
|
||||
const wrapper = shallowMount(menuModal);
|
||||
|
|
|
|||
Loading…
Reference in a new issue