We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0042461 commit 425f325Copy full SHA for 425f325
src/material-experimental/mdc-slider/slider.spec.ts
@@ -538,10 +538,11 @@ describe('MatMdcSlider', () => {
538
flushRequestAnimationFrame();
539
}));
540
541
- it('should initialize based on bound value', () => {
+ it('should initialize based on bound value', async () => {
542
+ await new Promise(res => setTimeout(res, 1000000));
543
expect(sliderInstance.value).toBe(50);
544
expect(thumbContainerEl.style.transform).toContain('translateX(50px)');
- });
545
+ }, 1000000);
546
547
it('should update when bound value changes', fakeAsync(() => {
548
testComponent.val = 75;
0 commit comments