mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
[web] Add tests for js/__tests__/ducks/ui/indexSpec.js
This commit is contained in:
parent
21cdfe835b
commit
f327a52029
9
web/src/js/__tests__/ducks/ui/indexSpec.js
Normal file
9
web/src/js/__tests__/ducks/ui/indexSpec.js
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
import reduceUI from '../../../ducks/ui/index'
|
||||||
|
|
||||||
|
describe('reduceUI in js/ducks/ui/index.js', () => {
|
||||||
|
it('should combine flow and header', () => {
|
||||||
|
let state = reduceUI(undefined, {})
|
||||||
|
expect(state.hasOwnProperty('flow')).toBeTruthy()
|
||||||
|
expect(state.hasOwnProperty('header')).toBeTruthy()
|
||||||
|
})
|
||||||
|
})
|
Loading…
Reference in New Issue
Block a user