From d27aa0f5dd513cceb0654cbb5802e1d673f46e01 Mon Sep 17 00:00:00 2001 From: DD Date: Wed, 11 Apr 2018 14:38:41 -0400 Subject: [PATCH] Fix test --- test/unit/format-reducer.test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/format-reducer.test.js b/test/unit/format-reducer.test.js index 42527852..1941aed3 100644 --- a/test/unit/format-reducer.test.js +++ b/test/unit/format-reducer.test.js @@ -22,10 +22,10 @@ test('undoRedoChangeFormat', () => { let defaultState; let reduxState = reducer(defaultState /* state */, changeFormat(Formats.BITMAP) /* action */); expect(reduxState).toBe(Formats.BITMAP); - reduxState = reducer(reduxState /* state */, undo(Formats.UNDO_BITMAP) /* action */); - expect(reduxState).toBe(Formats.UNDO_BITMAP); - reduxState = reducer(reduxState /* state */, redo(Formats.UNDO_VECTOR) /* action */); - expect(reduxState).toBe(Formats.UNDO_VECTOR); + reduxState = reducer(reduxState /* state */, undo(Formats.BITMAP_SKIP_CONVERT) /* action */); + expect(reduxState).toBe(Formats.BITMAP_SKIP_CONVERT); + reduxState = reducer(reduxState /* state */, redo(Formats.VECTOR_SKIP_CONVERT) /* action */); + expect(reduxState).toBe(Formats.VECTOR_SKIP_CONVERT); }); test('invalidChangeMode', () => {