mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Removed unused imports
This commit is contained in:
@@ -1,16 +1,13 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
// Polyfill holes in JSDOM
|
|
||||||
require('./polyfills.js');
|
|
||||||
|
|
||||||
// Set up jQuery
|
// Set up jQuery
|
||||||
global.$ = global.jQuery = require('jquery');
|
global.$ = global.jQuery = require('jquery');
|
||||||
|
|
||||||
// tests/jest.setup.js
|
// tests/jest.setup.js
|
||||||
global.io = jest.fn().mockReturnValue({
|
global.io = jest.fn().mockReturnValue({
|
||||||
on: jest.fn(),
|
on: jest.fn(),
|
||||||
emit: jest.fn()
|
emit: jest.fn(),
|
||||||
});
|
});
|
||||||
|
|
||||||
// Load module code
|
// Load module code
|
||||||
|
|||||||
@@ -1,9 +1,6 @@
|
|||||||
const fs = require('fs');
|
const fs = require('fs');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
|
|
||||||
// Polyfill holes in JSDOM
|
|
||||||
require('./polyfills.js');
|
|
||||||
|
|
||||||
// Set up jQuery
|
// Set up jQuery
|
||||||
global.$ = global.jQuery = require('jquery');
|
global.$ = global.jQuery = require('jquery');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user