Fix eslint

Remove unused method
This commit is contained in:
Filipa Lacerda 2016-11-16 14:47:34 +00:00
parent 7bab279142
commit 4f0a169810
2 changed files with 4 additions and 10 deletions

View file

@ -76,6 +76,10 @@ $(() => {
},
},
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
created() {
window.gl.environmentsService = new EnvironmentsService(this.endpoint);
@ -94,14 +98,6 @@ $(() => {
});
},
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
mounted() {
},
/**
* Transforms the url parameter into an object and
* returns the one requested.

View file

@ -1,11 +1,9 @@
//= require vue_common_component/commit
describe('Commit component', () => {
let props;
let component;
it('should render a code-fork icon if it does not represent a tag', () => {
fixture.set('<div class="test-commit-container"></div>');
component = new window.gl.CommitComponent({