mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 00:01:36 +00:00
[web] change test files
This commit is contained in:
parent
7b51f12813
commit
2b9e5dcd1b
@ -7,6 +7,7 @@
|
|||||||
"start": "gulp"
|
"start": "gulp"
|
||||||
},
|
},
|
||||||
"jest": {
|
"jest": {
|
||||||
|
"testRegex": "__tests__/.*\\Spec.js$",
|
||||||
"testPathDirs": [
|
"testPathDirs": [
|
||||||
"<rootDir>/src/js"
|
"<rootDir>/src/js"
|
||||||
],
|
],
|
||||||
|
@ -10,9 +10,3 @@ export function createStore(parts) {
|
|||||||
applyMiddleware(...[thunk])
|
applyMiddleware(...[thunk])
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('tutils', () => {
|
|
||||||
it('do nothing', () => {
|
|
||||||
return
|
|
||||||
})
|
|
||||||
})
|
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user