Skip to content

Commit 425f325

Browse files
committed
Add debugging
1 parent 0042461 commit 425f325

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/material-experimental/mdc-slider/slider.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -538,10 +538,11 @@ describe('MatMdcSlider', () => {
538538
flushRequestAnimationFrame();
539539
}));
540540

541-
it('should initialize based on bound value', () => {
541+
it('should initialize based on bound value', async () => {
542+
await new Promise(res => setTimeout(res, 1000000));
542543
expect(sliderInstance.value).toBe(50);
543544
expect(thumbContainerEl.style.transform).toContain('translateX(50px)');
544-
});
545+
}, 1000000);
545546

546547
it('should update when bound value changes', fakeAsync(() => {
547548
testComponent.val = 75;

0 commit comments

Comments
 (0)