Semaphore/web2/tests/unit/example.spec.js
Denis Gukov d417f95273 feat(be): feat(fe): add websocket for task logs
Additionally:
- Added link for running task, https://github.com/ansible-semaphore/semaphore/issues/481
- Added class Listenable and unit tests for it
2020-11-22 04:28:51 +05:00

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');
});
});