Commit 9afaa94c authored by Phil Hughes's avatar Phil Hughes

Merge branch 'xanf-remove-attachToDocument-196762' into 'master'

Remove useless attachToDocument usage in spec/frontend/registry

Closes #196762

See merge request gitlab-org/gitlab!23042
parents 5f6bc095 b6cae23d
...@@ -35,7 +35,6 @@ describe('Registry List', () => { ...@@ -35,7 +35,6 @@ describe('Registry List', () => {
beforeEach(() => { beforeEach(() => {
wrapper = mount(registry, { wrapper = mount(registry, {
attachToDocument: true,
propsData, propsData,
computed: { computed: {
repos() { repos() {
...@@ -61,7 +60,6 @@ describe('Registry List', () => { ...@@ -61,7 +60,6 @@ describe('Registry List', () => {
describe('without data', () => { describe('without data', () => {
beforeEach(() => { beforeEach(() => {
wrapper = mount(registry, { wrapper = mount(registry, {
attachToDocument: true,
propsData, propsData,
computed: { computed: {
repos() { repos() {
......
...@@ -26,7 +26,6 @@ describe('collapsible registry container', () => { ...@@ -26,7 +26,6 @@ describe('collapsible registry container', () => {
...config, ...config,
store, store,
localVue, localVue,
attachToDocument: true,
}); });
beforeEach(() => { beforeEach(() => {
......
...@@ -6,7 +6,6 @@ describe('Registry Project Empty state', () => { ...@@ -6,7 +6,6 @@ describe('Registry Project Empty state', () => {
beforeEach(() => { beforeEach(() => {
wrapper = mount(projectEmptyState, { wrapper = mount(projectEmptyState, {
attachToDocument: true,
propsData: { propsData: {
noContainersImage: 'imageUrl', noContainersImage: 'imageUrl',
helpPagePath: 'help', helpPagePath: 'help',
......
...@@ -28,7 +28,11 @@ describe('table registry', () => { ...@@ -28,7 +28,11 @@ describe('table registry', () => {
const bulkDeletePath = 'path'; const bulkDeletePath = 'path';
const mountWithStore = config => const mountWithStore = config =>
mount(tableRegistry, { ...config, store, localVue, attachToDocument: true }); mount(tableRegistry, {
...config,
store,
localVue,
});
beforeEach(() => { beforeEach(() => {
store = new Vuex.Store({ store = new Vuex.Store({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment