From d388aa2a03ced0c02b5739692be8fa532e5b05ef Mon Sep 17 00:00:00 2001 From: John Chilton Date: Tue, 19 Nov 2024 13:10:35 -0500 Subject: [PATCH] Eliminate a extraneous logging event in HistoryView.test.js. --- client/tests/jest/jest.setup.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/client/tests/jest/jest.setup.js b/client/tests/jest/jest.setup.js index 505e186fd517..bf547952dc9f 100644 --- a/client/tests/jest/jest.setup.js +++ b/client/tests/jest/jest.setup.js @@ -4,6 +4,9 @@ import "fake-indexeddb/auto"; import Vue from "vue"; +// not available in jsdom, mock it out +Element.prototype.scrollIntoView = jest.fn(); + // Set Vue to suppress production / devtools / etc. warnings Vue.config.productionTip = false; Vue.config.devtools = false;