Skip to content

Commit ac42e57

Browse files
committed
Fix ESLint errors
1 parent 7adcf69 commit ac42e57

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/DateInput.spec.jsx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ describe('DateInput', () => {
353353
});
354354

355355
it('jumps to the next field when right arrow is pressed', () => {
356-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
356+
const { container } = render(<DateInput {...defaultProps} />);
357357

358358
const customInputs = container.querySelectorAll('input[data-input]');
359359
const dayInput = customInputs[0];
@@ -370,7 +370,7 @@ describe('DateInput', () => {
370370
});
371371

372372
it('jumps to the next field when separator key is pressed', () => {
373-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
373+
const { container } = render(<DateInput {...defaultProps} />);
374374

375375
const customInputs = container.querySelectorAll('input[data-input]');
376376
const dayInput = customInputs[0];
@@ -389,7 +389,7 @@ describe('DateInput', () => {
389389
});
390390

391391
it('does not jump to the next field when right arrow is pressed when the last input is focused', () => {
392-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
392+
const { container } = render(<DateInput {...defaultProps} />);
393393

394394
const customInputs = container.querySelectorAll('input[data-input]');
395395
const yearInput = customInputs[2];
@@ -405,7 +405,7 @@ describe('DateInput', () => {
405405
});
406406

407407
it('jumps to the previous field when left arrow is pressed', () => {
408-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
408+
const { container } = render(<DateInput {...defaultProps} />);
409409

410410
const customInputs = container.querySelectorAll('input[data-input]');
411411
const dayInput = customInputs[0];
@@ -422,7 +422,7 @@ describe('DateInput', () => {
422422
});
423423

424424
it('does not jump to the previous field when left arrow is pressed when the first input is focused', () => {
425-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
425+
const { container } = render(<DateInput {...defaultProps} />);
426426

427427
const customInputs = container.querySelectorAll('input[data-input]');
428428
const dayInput = customInputs[0];
@@ -438,7 +438,7 @@ describe('DateInput', () => {
438438
});
439439

440440
it("jumps to the next field when a value which can't be extended to another valid value is entered", () => {
441-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
441+
const { container } = render(<DateInput {...defaultProps} />);
442442

443443
const customInputs = container.querySelectorAll('input[data-input]');
444444
const dayInput = customInputs[0];
@@ -453,7 +453,7 @@ describe('DateInput', () => {
453453
});
454454

455455
it('jumps to the next field when a value as long as the length of maximum value is entered', () => {
456-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
456+
const { container } = render(<DateInput {...defaultProps} />);
457457

458458
const customInputs = container.querySelectorAll('input[data-input]');
459459
const dayInput = customInputs[0];
@@ -468,7 +468,7 @@ describe('DateInput', () => {
468468
});
469469

470470
it('does not jump the next field when a value which can be extended to another valid value is entered', () => {
471-
const { container } = render(<DateInput {...defaultProps} />, { attachTo: container });
471+
const { container } = render(<DateInput {...defaultProps} />);
472472

473473
const customInputs = container.querySelectorAll('input[data-input]');
474474
const dayInput = customInputs[0];

0 commit comments

Comments
 (0)