Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/static_site_editor/components/app_spec.js')
-rw-r--r--spec/frontend/static_site_editor/components/app_spec.js34
1 files changed, 0 insertions, 34 deletions
diff --git a/spec/frontend/static_site_editor/components/app_spec.js b/spec/frontend/static_site_editor/components/app_spec.js
deleted file mode 100644
index bbdffeae68f..00000000000
--- a/spec/frontend/static_site_editor/components/app_spec.js
+++ /dev/null
@@ -1,34 +0,0 @@
-import { shallowMount } from '@vue/test-utils';
-import App from '~/static_site_editor/components/app.vue';
-
-describe('static_site_editor/components/app', () => {
- const mergeRequestsIllustrationPath = 'illustrations/merge_requests.svg';
- const RouterView = {
- template: '<div></div>',
- };
- let wrapper;
-
- const buildWrapper = () => {
- wrapper = shallowMount(App, {
- stubs: {
- RouterView,
- },
- propsData: {
- mergeRequestsIllustrationPath,
- },
- });
- };
-
- afterEach(() => {
- wrapper.destroy();
- wrapper = null;
- });
-
- it('passes merge request illustration path to the router view component', () => {
- buildWrapper();
-
- expect(wrapper.find(RouterView).attributes()).toMatchObject({
- 'merge-requests-illustration-path': mergeRequestsIllustrationPath,
- });
- });
-});