[zanata/zanata-platform] 9819a4: Test editor reducers (ZNTA-1913) (#309)

GitHub noreply at github.com
Wed May 10 05:33:17 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/zanata/zanata-platform
  Commit: 9819a47f418d5767f17f49cac1bc0eaba07b0e0a
      https://github.com/zanata/zanata-platform/commit/9819a47f418d5767f17f49cac1bc0eaba07b0e0a
  Author: David Mason <drdmason at gmail.com>
  Date:   2017-05-10 (Wed, 10 May 2017)

  Changed paths:
    A server/zanata-frontend/src/frontend/app/editor/actions/action-types.js
    A server/zanata-frontend/src/frontend/app/editor/actions/glossary-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/glossary-actions.js
    A server/zanata-frontend/src/frontend/app/editor/actions/header-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/header-actions.js
    M server/zanata-frontend/src/frontend/app/editor/actions/index.js
    A server/zanata-frontend/src/frontend/app/editor/actions/phrases-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/phrases-actions.js
    A server/zanata-frontend/src/frontend/app/editor/actions/suggestions-action-types.js
    M server/zanata-frontend/src/frontend/app/editor/actions/suggestions-actions.js
    M server/zanata-frontend/src/frontend/app/editor/api/index.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/context-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/context-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/dropdown-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/dropdown-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/glossary-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/glossary-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/header-data-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/header-data-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/phrase-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/suggestions-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/suggestions-reducer.test.js
    M server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.js
    A server/zanata-frontend/src/frontend/app/editor/reducers/ui-reducer.test.js
    M server/zanata-frontend/src/frontend/makefile

  Log Message:
  -----------
  Test editor reducers (ZNTA-1913) (#309)

* test(editor-reducers): add test for editor context-reducer

Required extracting some action type definitions to separate files
to avoid pulling in code that depends on a browser environment.

* test(editor-reducers): add test for editor dropdown-reducer

* test(editor-reducers): add test for editor glossary-reducer

* test(editor-reducers): add test for editor phrase-reducer

* test(editor-reducers): add test for editor ui-reducer

* test(editor-reducers): add test for editor suggestions-reducer

* test(editor-reducers): add test for editor header-data-reducer

* fix(editor): fix some imports




More information about the zanata-commits mailing list