mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 10:54:11 -04:00
Add utility helper for making form data sendable
Useful for assertions where the data you're comparing is already in this format.
This commit is contained in:
@@ -4,6 +4,7 @@ const html = require('./helpers/html.js');
|
||||
const elements = require('./helpers/elements.js');
|
||||
const rendering = require('./helpers/rendering.js');
|
||||
const forms = require('./helpers/forms.js');
|
||||
const utilities = require('./helpers/utilities.js');
|
||||
|
||||
exports.triggerEvent = events.triggerEvent;
|
||||
exports.clickElementWithMouse = events.clickElementWithMouse;
|
||||
@@ -18,3 +19,4 @@ exports.element = elements.element;
|
||||
exports.WindowMock = rendering.WindowMock;
|
||||
exports.ScreenMock = rendering.ScreenMock;
|
||||
exports.spyOnFormSubmit = forms.spyOnFormSubmit;
|
||||
exports.getFormDataFromPairs = utilities.getFormDataFromPairs;
|
||||
|
||||
Reference in New Issue
Block a user