/* jshint -W097 */// jshint strict:false
/*jslint node: true */
var expect = require('chai').expect;


describe('Test package.json and io-package.json', function() {
    it('Test package files', function (done) {
        var fileContentIOPackage = fs.readFileSync(__dirname + '/../io-package.json');
        var ioPackage = JSON.parse(fileContentIOPackage);

        var fileContentNPMPackage = fs.readFileSync(__dirname + '/../package.json');
        var npmPackage = JSON.parse(fileContentNPMPackage);

        expect(ioPackage).to.be.an('object');
        expect(npmPackage).to.be.an('object');

        expect(ioPackage.common.version).to.exist;
        expect(npmPackage.version).to.exist;

        if (!expect(ioPackage.common.version).to.be.equal(npmPackage.version)) {
            console.log('ERROR: Version numbers in package.json and io-package.json differ!!')
        }

        if (!ioPackage.common.news[ioPackage.common.version]) {
            console.log('WARNING: No news entry for current version exists in io-package.json, no rollback in Admin possible!');
        }
    }
}

@@ -864,16 +864,17 @@
 ffer!!')
+;
 %0A       
@@ -1084,12 +1084,33 @@
   %7D%0A
-    %7D%0A%7D
+%0A        done();%0A    %7D);%0A%7D);
 %0A

fix testing