Commit b6cae23d authored by Illya Klymov's avatar Illya Klymov

Remove useless attachToDocument property

attachToDocument property is not needed
parent 4ac2a641
...@@ -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