Skip to content

Commit f0889ec

Browse files
author
Austin Green
authored
fix(test): mock scrollTo dom-helper utility in tests (#437)
1 parent 02c377f commit f0889ec

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
/**
2+
* Copyright Zendesk, Inc.
3+
*
4+
* Use of this source code is governed under the Apache License, Version 2.0
5+
* found at http://www.apache.org/licenses/LICENSE-2.0.
6+
*/
7+
8+
/**
9+
* Mock `scrollTo` implementation
10+
* @param {*} domNode
11+
*/
12+
export default function scrollTo(domNode) {
13+
return undefined;
14+
}

0 commit comments

Comments
 (0)