tahnik/devRantron

View on GitHub
app/src/js/reducers/__tests__/index.test.js

Summary

Maintainability
A
0 mins
Test Coverage
import defaultStates from '../../consts/default_states';
import reduce from '../index';

describe('[Reducer] index', () => {
  it('should return the default state', () => {
    const newState = reduce(defaultStates, {});
    expect(newState).toEqual(defaultStates);
  });
});