feat: [MICROBA-1620] Wire BulkEmailForm to API (#11)
- Wires up the BulkEmailForm to be able to actually send email tasks to the instructor api - Adds testing for the BulkEmailForm, as well as BulkEmailTool itself - Does some cleanup, and adds some additional testing tools as needed
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import 'core-js/stable';
|
||||
import 'regenerator-runtime/runtime';
|
||||
import '@testing-library/jest-dom';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { render } from '@testing-library/react';
|
||||
@@ -50,9 +51,7 @@ configureI18n({
|
||||
function Wrapper({ children }) {
|
||||
return (
|
||||
// eslint-disable-next-line react/jsx-filename-extension
|
||||
<AppProvider>
|
||||
{children}
|
||||
</AppProvider>
|
||||
<AppProvider>{children}</AppProvider>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -67,6 +66,4 @@ Wrapper.propTypes = {
|
||||
export * from '@testing-library/react';
|
||||
|
||||
// Override `render` method.
|
||||
export {
|
||||
renderWithProviders as render,
|
||||
};
|
||||
export { renderWithProviders as render };
|
||||
|
||||
Reference in New Issue
Block a user