mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 10:54:11 -04:00
Removed jquery
This commit is contained in:
@@ -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({
|
||||
|
||||
@@ -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');
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
window.jQuery = null;
|
||||
$ = null;
|
||||
|
||||
delete window.USWDS;
|
||||
|
||||
jest.restoreAllMocks();
|
||||
|
||||
Reference in New Issue
Block a user