diff --git a/__tests__/snapshot/board/examples/test/scroll.html.jpg b/__tests__/snapshot/board/examples/test/scroll.html.jpg index 7b66ff7..2f4e6ef 100644 Binary files a/__tests__/snapshot/board/examples/test/scroll.html.jpg and b/__tests__/snapshot/board/examples/test/scroll.html.jpg differ diff --git a/__tests__/snapshot/board/examples/test/transform-large.html.jpg b/__tests__/snapshot/board/examples/test/transform-large.html.jpg deleted file mode 100644 index 37aa913..0000000 Binary files a/__tests__/snapshot/board/examples/test/transform-large.html.jpg and /dev/null differ diff --git a/__tests__/snapshot/board/examples/test/transform-small.html.jpg b/__tests__/snapshot/board/examples/test/transform-small.html.jpg deleted file mode 100644 index ce4a643..0000000 Binary files a/__tests__/snapshot/board/examples/test/transform-small.html.jpg and /dev/null differ diff --git a/__tests__/snapshot/core/examples/test/update-element.html.jpg b/__tests__/snapshot/core/examples/test/update-element.html.jpg index 01b7370..d035ae8 100644 Binary files a/__tests__/snapshot/core/examples/test/update-element.html.jpg and b/__tests__/snapshot/core/examples/test/update-element.html.jpg differ diff --git a/__tests__/util/browser.js b/__tests__/util/browser.js deleted file mode 100644 index be6ff33..0000000 --- a/__tests__/util/browser.js +++ /dev/null @@ -1,22 +0,0 @@ -function mouseDown(x,y){ - const event = new MouseEvent('mousedown', { - screenX: x, - screenY: y, - clientX: x, - clientY: y, - }); - const elem = document.elementFromPoint(x,y); - elem.dispatchEvent(event); -} - - -function mouseUp(x,y){ - const event = new MouseEvent('mouseup', { - screenX: x, - screenY: y, - clientX: x, - clientY: y, - }); - const elem = document.elementFromPoint(x,y); - elem.dispatchEvent(event); -} diff --git a/packages/board/examples/test/scroll.html b/packages/board/examples/test/scroll.html index d2bb0c5..17b7e1a 100644 --- a/packages/board/examples/test/scroll.html +++ b/packages/board/examples/test/scroll.html @@ -4,12 +4,9 @@
- +