text: 'use strict';
  
  var helper = require('../spec-helper');
  
  var TIMEOUT = 15000;
  
  describe('test:projects', function () {
    it('ipc: check log files', function () {
      return helper.run('ipc', TIMEOUT).then(function (logReader) {
        expect(logReader.format()).toEqual([
          'main.log: { name: \'Log object in renderer\' }',
          [
            'main.log: [function] function functionInRenderer() {',
            '    return 1;',
            '  }',
          ].join('\n'),
          jasmine.stringMatching('main.log: {\n'),
          'renderer.log: { name: \'Log object in main\' }',
          [
            'renderer.log: [function] function functionInMain() {',
            '      return 1;',
            '    }',
          ].join('\n'),
          jasmine.stringMatching('renderer.log: {\n'),
        ]);
      });
    }, TIMEOUT);
  });
  