Combine init actions
This commit is contained in:
parent
02e9df865e
commit
d844f6ee1a
13 changed files with 228 additions and 232 deletions
|
@ -182,10 +182,10 @@ describe('network reducer', () => {
|
|||
});
|
||||
});
|
||||
|
||||
it('adds the networks on SOCKET_NETWORKS', () => {
|
||||
it('adds the networks on INIT', () => {
|
||||
let state = reducer(undefined, {
|
||||
type: actions.socket.NETWORKS,
|
||||
data: [
|
||||
type: actions.INIT,
|
||||
networks: [
|
||||
{
|
||||
host: '127.0.0.1',
|
||||
name: 'stuff',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue