debian-mirror-gitlab/spec/frontend/clusters_list/stubs.js
2021-11-18 22:05:49 +05:30

14 lines
213 B
JavaScript

const ModalStub = {
name: 'glmodal-stub',
template: `
<div>
<slot></slot>
<slot name="modal-footer"></slot>
</div>
`,
methods: {
hide: jest.fn(),
},
};
export default ModalStub;