From 468216fdf9e9f2e489b3084251ada13bef6c01ee Mon Sep 17 00:00:00 2001 From: alexjanousekGSA Date: Mon, 16 Jun 2025 19:42:08 -0400 Subject: [PATCH] Removed unused imports --- tests/javascripts/support/jest.setup.js | 7 ++----- tests/javascripts/support/setup.js | 3 --- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/tests/javascripts/support/jest.setup.js b/tests/javascripts/support/jest.setup.js index f0b3a55dc..60c29d760 100644 --- a/tests/javascripts/support/jest.setup.js +++ b/tests/javascripts/support/jest.setup.js @@ -1,16 +1,13 @@ const fs = require('fs'); const path = require('path'); -// Polyfill holes in JSDOM -require('./polyfills.js'); - // Set up jQuery global.$ = global.jQuery = require('jquery'); // tests/jest.setup.js global.io = jest.fn().mockReturnValue({ - on: jest.fn(), - emit: jest.fn() + on: jest.fn(), + emit: jest.fn(), }); // Load module code diff --git a/tests/javascripts/support/setup.js b/tests/javascripts/support/setup.js index 64334becf..027bd1700 100644 --- a/tests/javascripts/support/setup.js +++ b/tests/javascripts/support/setup.js @@ -1,9 +1,6 @@ const fs = require('fs'); const path = require('path'); -// Polyfill holes in JSDOM -require('./polyfills.js'); - // Set up jQuery global.$ = global.jQuery = require('jquery');