mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-12 01:48:54 -04:00
Add mock for window.location
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
const globals = require('./helpers/globals.js');
|
||||
const events = require('./helpers/events.js');
|
||||
const domInterfaces = require('./helpers/dom_interfaces.js');
|
||||
const html = require('./helpers/html.js');
|
||||
@@ -5,6 +6,7 @@ const elements = require('./helpers/elements.js');
|
||||
const rendering = require('./helpers/rendering.js');
|
||||
const forms = require('./helpers/forms.js');
|
||||
|
||||
exports.LocationMock = globals.LocationMock;
|
||||
exports.triggerEvent = events.triggerEvent;
|
||||
exports.clickElementWithMouse = events.clickElementWithMouse;
|
||||
exports.moveSelectionToRadio = events.moveSelectionToRadio;
|
||||
|
||||
Reference in New Issue
Block a user