Commit 4f0a1698 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix eslint

Remove unused method
parent 7bab2791
...@@ -76,6 +76,10 @@ $(() => { ...@@ -76,6 +76,10 @@ $(() => {
}, },
}, },
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
created() { created() {
window.gl.environmentsService = new EnvironmentsService(this.endpoint); window.gl.environmentsService = new EnvironmentsService(this.endpoint);
...@@ -94,14 +98,6 @@ $(() => { ...@@ -94,14 +98,6 @@ $(() => {
}); });
}, },
/**
* Fetches all the environmnets and stores them.
* Toggles loading property.
*/
mounted() {
},
/** /**
* Transforms the url parameter into an object and * Transforms the url parameter into an object and
* returns the one requested. * returns the one requested.
......
//= require vue_common_component/commit //= require vue_common_component/commit
describe('Commit component', () => { describe('Commit component', () => {
let props; let props;
let component; let component;
it('should render a code-fork icon if it does not represent a tag', () => { it('should render a code-fork icon if it does not represent a tag', () => {
fixture.set('<div class="test-commit-container"></div>'); fixture.set('<div class="test-commit-container"></div>');
component = new window.gl.CommitComponent({ component = new window.gl.CommitComponent({
......
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