"use strict";

var _getPkgInfo = _interopRequireDefault(require("./getPkgInfo"));

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

describe('Package information', () => {
  it('Can get package information', () => {
    const info = (0, _getPkgInfo.default)();
    expect(info.name).toBe('udacimak');
    expect(info.version).toMatch(/^\d{1,2}\.\d{1,2}\.\d{1,2}$/);
  });
});