var app = require('app');
var BrowserWindow = require('browser-window');

var window = null;

app.on('finish-launching', function() {
  window = new BrowserWindow({
    title: 'atom-shell tests',
    width: 800,
    height: 600
  });
  window.loadUrl('file://' + __dirname + '/index.html');
  window.focus();
});

var app = require('app');
var BrowserWindow = require('browser-window');

var window = null;

process.on('uncaughtException', function() {
  window.openDevTools();
});

app.on('window-all-closed', function() {
  app.terminate();
});

app.on('finish-launching', function() {
  window = new BrowserWindow({
    title: 'atom-shell tests',
    width: 800,
    height: 600
  });
  window.loadUrl('file://' + __dirname + '/index.html');
  window.focus();
});

Improve spec window's default behavior.
Improve spec window's default behavior.
