mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore(ripple): fake mousedown test not running (#12865)
* With 4639a874c7 a new test has been introduced. Due to a wrong syntax the test does not run properly.
This commit is contained in:
committed by
Jeremy Elbourn
parent
8831a7aabb
commit
74a3179565
@@ -167,7 +167,7 @@ describe('MatRipple', () => {
|
||||
expect(rippleTarget.querySelectorAll('.mat-ripple-element').length).toBe(0);
|
||||
}));
|
||||
|
||||
it('should ignore fake mouse events from screen readers', () => fakeAsync(() => {
|
||||
it('should ignore fake mouse events from screen readers', fakeAsync(() => {
|
||||
const event = createMouseEvent('mousedown');
|
||||
Object.defineProperty(event, 'buttons', {get: () => 0});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user