jtassin/react-amount-field

View on GitHub
src/__tests__/ReduxFormMaterialUiWrapper.test.jsx

Summary

Maintainability
A
1 hr
Test Coverage

Showing 1 of 1 total issue

Identical blocks of code found in 2 locations. Consider refactoring.
Open

beforeEach(() => {
const stub = sinon.stub(console, 'error');
stub.callsFake((warning) => { throw new Error(warning); });
});
Severity: Major
Found in src/__tests__/ReduxFormMaterialUiWrapper.test.jsx and 1 other location - About 1 hr to fix
src/__tests__/ReactAmountField.test.jsx on lines 23..26
Category
Status