Temporary workaround for cypress ct ytpe error

This commit is contained in:
Matthias 2023-05-10 06:55:25 +02:00
parent 5f5b332014
commit 9fd776e507

View File

@ -3,8 +3,9 @@ import ValuePair from '@/components/general/ValuePair.vue';
describe('ValuePair.vue', () => {
it('Renders a message', () => {
const msg = 'Test description';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-expect-error
cy.mount(ValuePair, { props: { description: msg } });
cy.get('label').contains(msg);
});
});