From 78a403c450425ea86fad7df5737a4a53ed4c6714 Mon Sep 17 00:00:00 2001 From: donal <donalspring@gmail.com> Date: Mon, 16 Apr 2018 12:57:45 +0200 Subject: [PATCH] Template for TDD --- tests/unit/javascript/actions.spec.js | 13 ++----------- 1 files changed, 2 insertions(+), 11 deletions(-) diff --git a/tests/unit/javascript/actions.spec.js b/tests/unit/javascript/actions.spec.js index 507c57e..b810653 100644 --- a/tests/unit/javascript/actions.spec.js +++ b/tests/unit/javascript/actions.spec.js @@ -123,15 +123,6 @@ done(); }); }); - it("should call MARK_TODO_IMPORTANT", done => { - const commit = sinon.spy(); - state.todos = todos; - actions - .updateTodo({ commit, state }, { id: 1, important: true }) - .then(() => { - // TODO - test goes here! - expect(commit.firstCall.args[0]).toBe("MARK_TODO_IMPORTANT"); - done(); - }); - }); + // TODO - test goes here! + }); -- Gitblit v1.9.3