debian-mirror-gitlab/spec/frontend/clusters_list/stubs.js

15 lines
213 B
JavaScript
Raw Normal View History

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