Skip to content

Commit 7cc926f

Browse files
authored
test: cleanup outdated date-picker wrapping unit test (#8772)
1 parent 870230e commit 7cc926f

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

packages/date-picker/test/basic.test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -369,27 +369,6 @@ describe('clear button', () => {
369369
});
370370
});
371371

372-
describe('wrapped', () => {
373-
let container, datePicker;
374-
375-
beforeEach(() => {
376-
container = fixtureSync(`
377-
<div style="height: 100px; overflow: scroll;">
378-
<div style="height: 1000px;">
379-
<vaadin-date-picker></vaadin-date-picker>
380-
</div>
381-
</div>
382-
`);
383-
datePicker = container.querySelector('vaadin-date-picker');
384-
});
385-
386-
it('should match the parent width', () => {
387-
container.querySelector('div').style.width = '120px';
388-
datePicker.style.width = '100%';
389-
expect(datePicker.clientWidth).to.equal(120);
390-
});
391-
});
392-
393372
describe('initial value attribute', () => {
394373
let datePicker, input;
395374

0 commit comments

Comments
 (0)