stubs.js 213 Bytes
Newer Older
pburdette's avatar
pburdette committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
const ModalStub = {
  name: 'glmodal-stub',
  template: `
    <div>
      <slot></slot>
      <slot name="modal-footer"></slot>
    </div>
  `,
  methods: {
    hide: jest.fn(),
  },
};

export default ModalStub;