text: "use strict";
  
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
  
  var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
  
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
  
  require("@babel/register");
  
  var _ava = _interopRequireDefault(require("ava"));
  
  var _Users = _interopRequireDefault(require("../../src/entity/Users"));
  
  _ava.default.beforeEach(function (it) {
    it.context.users = new _Users.default();
  });
  
  _ava.default.serial('[entity] Users -> put :: spec;',
  /*#__PURE__*/
  function () {
    var _ref = (0, _asyncToGenerator2.default)(
    /*#__PURE__*/
    _regenerator.default.mark(function _callee(it) {
      var entity, result;
      return _regenerator.default.wrap(function _callee$(_context) {
        while (1) {
          switch (_context.prev = _context.next) {
            case 0:
              entity = {
                id: 1,
                name: 'Paul Allen'
              };
              it.context.users.put({
                id: 1,
                entity: entity
              });
              _context.next = 4;
              return it.context.users.get({
                id: 1
              });
  
            case 4:
              result = _context.sent;
              it.deepEqual(result, '{}');
  
            case 6:
            case "end":
              return _context.stop();
          }
        }
      }, _callee);
    }));
  
    return function (_x) {
      return _ref.apply(this, arguments);
    };
  }()); //test.serial('[entity] Users -> get :: spec;', it => {
  //});
  //test.serial('[entity] Users -> post :: spec;', it => {
  //});
  //test.serial('[entity] Users -> delete :: spec;', it => {
  //});
  //# sourceMappingURL=/Users/crux/Templates/my-couchdb/node_modules/.cache/ava/2673a1dff23200532a082b5cf38fc95b.js.map