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', () => {
beforeEach(() => {
wrapper = mount(registry, {
attachToDocument: true,
propsData,
computed: {
repos() {
......@@ -61,7 +60,6 @@ describe('Registry List', () => {
describe('without data', () => {
beforeEach(() => {
wrapper = mount(registry, {
attachToDocument: true,
propsData,
computed: {
repos() {
......
......@@ -26,7 +26,6 @@ describe('collapsible registry container', () => {
...config,
store,
localVue,
attachToDocument: true,
});
beforeEach(() => {
......
......@@ -6,7 +6,6 @@ describe('Registry Project Empty state', () => {
beforeEach(() => {
wrapper = mount(projectEmptyState, {
attachToDocument: true,
propsData: {
noContainersImage: 'imageUrl',
helpPagePath: 'help',
......
......@@ -28,7 +28,11 @@ describe('table registry', () => {
const bulkDeletePath = 'path';
const mountWithStore = config =>
mount(tableRegistry, { ...config, store, localVue, attachToDocument: true });
mount(tableRegistry, {
...config,
store,
localVue,
});
beforeEach(() => {
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