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

14 lines
259 B
TypeScript
Raw Normal View History

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