UNPKG

redux-api-middleware-addon

Version:

A opinioned boilerplate for develop react component(with styled-components) and redux action,reducer with proper development tools

7 lines (6 loc) 198 B
import {double} from 'helpers/weightCalculation'; import {total} from 'helpers/priceCalculation'; test('total', () => { expect(total(2 * 100, 0.8)).toBe(160); expect(double(100)).toBe(200); });