Skip to content

Commit 7f29117

Browse files
committed
Mark empty functions as intentionally empty
1 parent a2e10c2 commit 7f29117

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

__mocks__/update-input-width.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
module.exports = () => {};
1+
module.exports = () => {
2+
// Intentionally empty
3+
};

src/DateTimeInput/NativeInput.spec.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import NativeInput from './NativeInput';
55

66
describe('NativeInput', () => {
77
const defaultProps = {
8-
onChange: () => {},
8+
onChange: () => {
9+
// Intentionally empty
10+
},
911
valueType: 'second',
1012
};
1113

0 commit comments

Comments
 (0)