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

13 lines
224 B
TypeScript
Raw Normal View History

2021-12-17 18:40:15 +00:00
import ValuePair from './ValuePair.vue';
it('renders a message', () => {
const msg = 'Test description';
2022-06-08 18:49:19 +00:00
cy.mount(ValuePair, {
2021-12-17 18:40:15 +00:00
propsData: {
description: msg,
},
});
cy.get('label').contains(msg);
});