lnked/react-starter

View on GitHub
src/__tests__/reducer.test.js

Summary

Maintainability
A
0 mins
Test Coverage
test('test', () => {})

// // src/reducers/__tests__/index_spec.tsx
// import reducers, {
//     initialState,
//   } from '../index'

//   import {
//     incrementCounter
//   } from '../../actions'

//   const resultOf = actions =>
//     actions.reduce(reducers, initialState)

//   describe('reducers/counter', () => {
//     it('starts at 0', () =>
//       expect(resultOf([])).toMatchSnapshot())

//     it('increments to 6', () =>
//       expect(resultOf([
//         incrementCounter(1),
//         incrementCounter(2),
//         incrementCounter(3),
//       ])).toMatchSnapshot())
//   })