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

11 lines
269 B
TypeScript
Raw Normal View History

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