mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-27 02:52:14 +01:00
11 lines
329 B
JavaScript
11 lines
329 B
JavaScript
import { expect } from 'chai';
|
|
import { shallowMount } from '@vue/test-utils';
|
|
import YesNoDialog from '@/components/YesNoDialog.vue';
|
|
|
|
describe('YesNoDialog.vue', () => {
|
|
it('renders props.msg when passed', () => {
|
|
const wrapper = shallowMount(YesNoDialog);
|
|
expect(wrapper.text()).to.include('Cancel Yes');
|
|
});
|
|
});
|