Skip to content

Commit

Permalink
update tests and CHANGES
Browse files Browse the repository at this point in the history
  • Loading branch information
natterstefan committed Jun 17, 2018
1 parent 9dc05ac commit 4a6f52c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 5 additions & 4 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [Unreleased][1]

### Added

* `<ListTabs \/>` added
* list `pattern` can be modified with query parameters. eg: http://localhost:2222/#/?pattern=#sprint1,#sprint2,#sprint3

### Changed

* **Breaking**: `config.js` can now contain multiple `lists` patterns, each list
Expand All @@ -15,10 +20,6 @@ adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
* _Note_: even though semver would suggest adding releasing a major release, I
decided to stick to 0.x.y still until further notice here.

### Added

* `<ListTabs \/>` added

## 2018/06/09 [0.1.1][5]

* Bugfix TrelloCard `isHidden` calculation
Expand Down
5 changes: 5 additions & 0 deletions src/actions/lists/__tests__/index.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import configureMockStore from 'redux-mock-store'
import thunk from 'redux-thunk'
import { actions, requestLists } from '../'
import { actions as appActions } from '../../../actions/app'

// some static mocks
import {
Expand Down Expand Up @@ -42,6 +43,10 @@ describe('actions/cards:async actions', () => {
// payload is set in setup-jest.js (config mock)
const expectedActions = [
{ boardId: 'board-1', type: actions.REQUEST },
{
pattern: [/#upcoming/],
type: appActions.REGISTER_PATTERN,
},
{
error: null,
boardId: 'board-1',
Expand Down

0 comments on commit 4a6f52c

Please sign in to comment.