Skip to content

Commit 0f73f0b

Browse files
Wojciech Majwojtekmaj
authored andcommitted
Warn instead of error on form submit in Test suite
1 parent d33549c commit 0f73f0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Test.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ export default class Test extends PureComponent {
8686
<form
8787
onSubmit={(event) => {
8888
event.preventDefault();
89+
8990
/* eslint-disable no-console */
90-
console.error('DateTimePicker triggered submitting the form.');
91+
console.warn('DateTimePicker triggered submitting the form.');
9192
console.log(event);
9293
/* eslint-enable no-console */
9394
}}

0 commit comments

Comments
 (0)