frequi_origin/src/components/general/ValuePair.cy.ts

9 lines
221 B
TypeScript
Raw Normal View History

import ValuePair from '@/components/general/ValuePair.vue';
2021-12-17 18:40:15 +00:00
it('renders a message', () => {
const msg = 'Test description';
cy.mount(ValuePair, { props: { description: msg } });
2021-12-17 18:40:15 +00:00
cy.get('label').contains(msg);
});