test(animations): fix Node.js detection in animation tests (#24139)
PR Close #24139
This commit is contained in:

committed by
Matias Niemelä

parent
1eafd04eb3
commit
3fd3c2ac4c
@ -117,7 +117,7 @@ import {el} from '../../testing/src/browser_util';
|
||||
|
||||
describe('flushing animations', () => {
|
||||
// these tests are only mean't to be run within the DOM
|
||||
if (typeof Element == 'undefined') return;
|
||||
if (isNode) return;
|
||||
|
||||
it('should flush and fire callbacks when the zone becomes stable', (async) => {
|
||||
@Component({
|
||||
|
Reference in New Issue
Block a user