mirror of
https://github.com/freqtrade/frequi.git
synced 2024-11-25 20:45:15 +00:00
13 lines
357 B
TypeScript
13 lines
357 B
TypeScript
import { mount } from '@vue/test-utils';
|
|
import ValuePair from '@/components/general/ValuePair.vue';
|
|
|
|
describe('ValuePair.vue', () => {
|
|
it('renders description when passed', () => {
|
|
const msg = 'Test description';
|
|
const wrapper = mount(ValuePair, {
|
|
propsData: { description: msg },
|
|
});
|
|
expect(wrapper.text()).toMatch(msg);
|
|
});
|
|
});
|