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 b544ae3d71e2..f73b37934f12 100644 --- a/client/src/components/Markdown/MarkdownContainer.vue +++ b/client/src/components/Markdown/MarkdownContainer.vue @@ -1,6 +1,8 @@