"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var _1 = require(".");
describe('package.json', function () {
    var pkg = require('../../package.json');
    it('has locked version: handsontable@6.2.2', function () {
        var deps = pkg.dependencies;
        var PKG = 'handsontable';
        var MIT = '6.2.2';
        var msg = "\nWARNING [" + PKG + "] must be version " + _1.log.green(MIT) + " not " + _1.log.red(MIT) + ".";
        if (deps.handsontable !== MIT) {
            msg += _1.log.gray("\nv" + MIT + " is the latest version licended under the MIT licence.\n");
            _1.log.info.yellow(msg);
        }
        _1.expect(deps[PKG]).to.eql(MIT, msg);
    });
});
