Commit da0189b1 authored by Rémy Coutable's avatar Rémy Coutable

Fix spec/javascripts/environments/environment_table_spec.js

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 8bdc899f
...@@ -17,8 +17,6 @@ describe('Environment item', () => { ...@@ -17,8 +17,6 @@ describe('Environment item', () => {
environment_path: 'url', environment_path: 'url',
}; };
const EnvironmentTable = Vue.extend(environmentTableComp);
const component = new EnvironmentTable({ const component = new EnvironmentTable({
el: document.querySelector('.test-dom-element'), el: document.querySelector('.test-dom-element'),
propsData: { propsData: {
...@@ -54,8 +52,6 @@ describe('Environment item', () => { ...@@ -54,8 +52,6 @@ describe('Environment item', () => {
isDeployBoardVisible: true, isDeployBoardVisible: true,
}; };
const EnvironmentTable = Vue.extend(environmentTableComp);
const component = new EnvironmentTable({ const component = new EnvironmentTable({
el: document.querySelector('.test-dom-element'), el: document.querySelector('.test-dom-element'),
propsData: { propsData: {
...@@ -96,8 +92,6 @@ describe('Environment item', () => { ...@@ -96,8 +92,6 @@ describe('Environment item', () => {
const spy = jasmine.createSpy('spy'); const spy = jasmine.createSpy('spy');
const EnvironmentTable = Vue.extend(environmentTableComp);
const component = new EnvironmentTable({ const component = new EnvironmentTable({
el: document.querySelector('.test-dom-element'), el: document.querySelector('.test-dom-element'),
propsData: { propsData: {
......
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