diff options
Diffstat (limited to 'spec/frontend/__mocks__')
-rw-r--r-- | spec/frontend/__mocks__/@toast-ui/vue-editor/index.js | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/spec/frontend/__mocks__/@toast-ui/vue-editor/index.js b/spec/frontend/__mocks__/@toast-ui/vue-editor/index.js new file mode 100644 index 00000000000..726ed0fa030 --- /dev/null +++ b/spec/frontend/__mocks__/@toast-ui/vue-editor/index.js @@ -0,0 +1,29 @@ +export const Editor = { + props: { + initialValue: { + type: String, + required: true, + }, + options: { + type: Object, + }, + initialEditType: { + type: String, + }, + height: { + type: String, + }, + previewStyle: { + type: String, + }, + }, + render(h) { + return h('div'); + }, +}; + +export const Viewer = { + render(h) { + return h('div'); + }, +}; |