mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-15 04:33:51 +00:00
12 lines
397 B
TypeScript
12 lines
397 B
TypeScript
|
import ValuePair from '@/components/general/ValuePair.vue';
|
||
|
import { mount } from '@vue/test-utils';
|
||
|
import { describe, expect, it } from 'vitest';
|
||
|
|
||
|
describe('ValuePair.vue', () => {
|
||
|
it('Renders a message', async () => {
|
||
|
const msg = 'Test description';
|
||
|
const wrapper = mount(ValuePair, { props: { description: msg } });
|
||
|
expect(wrapper.find('label').text()).toContain(msg);
|
||
|
});
|
||
|
});
|