[web] change test files

This commit is contained in:
Jason 2016-07-27 00:39:01 +08:00
parent 7b51f12813
commit 2b9e5dcd1b
8 changed files with 1 additions and 7 deletions

View File

@ -7,6 +7,7 @@
"start": "gulp" "start": "gulp"
}, },
"jest": { "jest": {
"testRegex": "__tests__/.*\\Spec.js$",
"testPathDirs": [ "testPathDirs": [
"<rootDir>/src/js" "<rootDir>/src/js"
], ],

View File

@ -10,9 +10,3 @@ export function createStore(parts) {
applyMiddleware(...[thunk]) applyMiddleware(...[thunk])
) )
} }
describe('tutils', () => {
it('do nothing', () => {
return
})
})

View File

@ -77,7 +77,6 @@ export default function reduce(state = defaultState, action) {
...sortedUpdate(state, action.item, action.sort), ...sortedUpdate(state, action.item, action.sort),
} }
} }
break;
case RECEIVE: case RECEIVE:
{ {
const data = action.list.filter(action.filter).sort(action.sort) const data = action.list.filter(action.filter).sort(action.sort)