"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

var _immutable = require("immutable");

var _index = _interopRequireDefault(require("../index"));

describe('EditBankModal Container', function () {
  var ConnectedEditBankModal = withContext(_index.default);
  var testbed = createTestbed(ConnectedEditBankModal, {
    modalOpen: true,
    workingBank: {},
    errorsShowing: (0, _immutable.Map)(),
    updateBank: sinon.stub(),
    changeBank: sinon.stub(),
    clearModifications: sinon.stub(),
    errorShowingActions: {},
    closeModal: sinon.stub()
  });
  useFakeFetching({
    dispatchStub: sinon.stub(),
    getStateStub: sinon.stub(),
    fetchStub: sinon.stub()
  });
  shouldRenderComponent(testbed, {}, _index.default);
});