Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 389, 390 Removes unused declarations and duplicate property #396

Open
wants to merge 5 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/components/Sprints/DeleteSprint.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export default {
const headers = { Authorization: this.token };

try {
const response = await HTTP.get(`sprints/${this.$route.params.id}`, { headers });
await HTTP.delete(`sprints/${this.$route.params.id}`, { headers });
this.$router.push({ name: 'Releases', params: { id: this.projectId } });
} catch (err) {
Expand Down
12 changes: 0 additions & 12 deletions src/components/Sprints/Velocity.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,18 @@
</template>

<script>
import { Bar } from 'vue-chart-js'
import { Line } from 'vue-chart-js'
import { HTTP } from '../../http-common';
import { mapState } from 'vuex';
import Sprint from './Sprint.vue';

export default {
extends: Bar,
extends: Line,
data () {
return {
datacollection: {
options: {
scales: {
yAxes: [
{
display: true,
ticks: {
beginAtZero: true,
min: 0,
suggestedMin: 0
}
}
],
yAxes: [
{
display: true,
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Authentication/Login.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On login', () => {
let state;
let actions;
let store;
let router;
const stub = sandbox.stub();

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Authentication/Register.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ describe('On register', () => {
let state;
let actions;
let store;
let router;
const loginStub = sandbox.stub();

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Issues/Issues.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Issues Issue', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Projects/AddProject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Add Project', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Projects/DeleteProject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Delete Project', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Projects/EditProject.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Edit Project', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Projects/Project.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Project Component', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Projects/Projects.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ describe('On projects component', () => {
const sandbox = sinon.createSandbox();
let state;
let store;
let router;

beforeEach(() => {
state = {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Releases/AddRelease.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Add Release', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Releases/EditRelease.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Edit Release', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Releases/Releases.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe('On releases component', () => {
const sandbox = sinon.createSandbox();
let state;
let store;
let router;

beforeEach(() => {
state = {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Retrospective/AddRetrospective.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ describe('On Add Release', () => {
// localVue.use(VeeValidate);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Retrospective/DeleteRetrospective.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Delete Retrospective', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Retrospective/EditRetrospective.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Edit Retrospective', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Retrospective/Retrospective.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Retrospective Component', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/SprintReviews/AddSprintReview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Add Sprint Review', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/SprintReviews/DeleteSprintReview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Delete Sprint Review', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/SprintReviews/EditSprintReview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Edit Sprint Review', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/SprintReviews/ListSprintReview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On List Sprint Review Component', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/SprintReviews/SprintReview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Sprint Review Component', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Sprints/AddSprint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Add Sprint', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Sprints/DeleteSprint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Delete Sprint', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Sprints/EditSprint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Edit Sprint', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Sprints/Sprint.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ describe('On Sprint Component', () => {
localVue.use(Vuex);
const sandbox = sinon.createSandbox();
let state;
let actions;
let store;

beforeEach(() => {
Expand Down
1 change: 0 additions & 1 deletion test/unit/specs/Stories/Stories.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ describe('On stories component', () => {
const sandbox = sinon.createSandbox();
let state;
let store;
let router;

beforeEach(() => {
state = {
Expand Down