diff options
Diffstat (limited to 'spec/frontend/ci/ci_variable_list/stubs.js')
-rw-r--r-- | spec/frontend/ci/ci_variable_list/stubs.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/spec/frontend/ci/ci_variable_list/stubs.js b/spec/frontend/ci/ci_variable_list/stubs.js new file mode 100644 index 00000000000..5769d6190f6 --- /dev/null +++ b/spec/frontend/ci/ci_variable_list/stubs.js @@ -0,0 +1,14 @@ +const ModalStub = { + name: 'glmodal-stub', + template: ` + <div> + <slot></slot> + <slot name="modal-footer"></slot> + </div> + `, + methods: { + hide: jest.fn(), + }, +}; + +export default ModalStub; |