import * as actions from '../actions';
import * as types from '../constants';

describe("transformEmailTemplate actions", () => {
  test.concurrent("test action", () => {
    const callback = ()=>{};
    const template = {};
    const expected = {
      type: types.TRANSFORM_EMAIL_TEMPLATE_REQUEST,
      template,
      callback
    };
    expect(actions.transformEmailTemplate(template, callback)).toEqual(expected);
  });
});