donal
2018-04-16 78a403c450425ea86fad7df5737a4a53ed4c6714
tests/unit/javascript/actions.spec.js
@@ -100,18 +100,6 @@
  });
});
/*
  updateTodo({ commit, state }, { id, important }) {
    let i = state.todos.findIndex(todo => todo._id === id);
    // todo - add back end
    return axios
      .put(config.todoEndpoint + "/" + state.todos[i]._id, state.todos[i])
      .then(data => {
        console.info("INFO - item " + id + " updated", data);
        commit("MARK_TODO_COMPLETED", i);
      });
  }
*/
describe("updateTodo", () => {
  beforeEach(() => {
    state = {};
@@ -135,4 +123,6 @@
      done();
    });
  });
  // TODO - test goes here!
});