Removed jquery

This commit is contained in:
Alex Janousek
2025-10-27 12:42:58 -04:00
parent 21a8b1784e
commit 950ff9ae35
15 changed files with 0 additions and 2493 deletions

View File

@@ -1,8 +1,6 @@
const fs = require('fs');
const path = require('path');
// Set up jQuery
global.$ = global.jQuery = require('jquery');
// tests/jest.setup.js
global.io = jest.fn().mockReturnValue({

View File

@@ -3,6 +3,3 @@ const path = require('path');
// Fill in the gaps where JSDOM doesn't quite match real browsers
require('./polyfills.js');
// Make jQuery available everywhere
global.$ = global.jQuery = require('jquery');

View File

@@ -1,6 +1,3 @@
window.jQuery = null;
$ = null;
delete window.USWDS;
jest.restoreAllMocks();