diff --git a/client/src/components/Markdown/Elements/InstanceUrl.vue b/client/src/components/Markdown/Elements/InstanceUrl.vue new file mode 100644 index 000000000000..a7f52d957354 --- /dev/null +++ b/client/src/components/Markdown/Elements/InstanceUrl.vue @@ -0,0 +1,31 @@ + + + diff --git a/client/src/components/Markdown/MarkdownContainer.test.js b/client/src/components/Markdown/MarkdownContainer.test.js index 484e92c97e94..a40f1d810176 100644 --- a/client/src/components/Markdown/MarkdownContainer.test.js +++ b/client/src/components/Markdown/MarkdownContainer.test.js @@ -11,6 +11,13 @@ import MountTarget from "./MarkdownContainer.vue"; jest.mock("utils/redirect"); withPrefix.mockImplementation((url) => url); +jest.mock("@/composables/config", () => ({ + useConfig: jest.fn(() => ({ + config: {}, + isConfigLoaded: true, + })), +})); + const localVue = getLocalVue(); const axiosMock = new MockAdapter(axios); diff --git a/client/src/components/Markdown/MarkdownContainer.vue b/client/src/components/Markdown/MarkdownContainer.vue index 9ece148b02b6..5e0be545dd5a 100644 --- a/client/src/components/Markdown/MarkdownContainer.vue +++ b/client/src/components/Markdown/MarkdownContainer.vue @@ -1,6 +1,8 @@