From 2560782d54c29d6ca47d1ff0da11ce1050dfb1fe Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 17 Jul 2013 16:28:14 +0800 Subject: [PATCH] Add empty spec skeleton. --- spec/index.html | 38 ++++++++++++++++++++++++++++++++++++++ spec/main.js | 14 ++++++++++++++ spec/package.json | 9 +++++++++ 3 files changed, 61 insertions(+) create mode 100644 spec/index.html create mode 100644 spec/main.js create mode 100644 spec/package.json diff --git a/spec/index.html b/spec/index.html new file mode 100644 index 000000000000..4a0bf3f8f040 --- /dev/null +++ b/spec/index.html @@ -0,0 +1,38 @@ + + + + + + +
+ + + + diff --git a/spec/main.js b/spec/main.js new file mode 100644 index 000000000000..41c2945f6843 --- /dev/null +++ b/spec/main.js @@ -0,0 +1,14 @@ +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(); +}); diff --git a/spec/package.json b/spec/package.json new file mode 100644 index 000000000000..8201e25316e1 --- /dev/null +++ b/spec/package.json @@ -0,0 +1,9 @@ +{ + "name": "atom-shell-specs", + "main": "main.js", + "version": "0.1.0", + "dependencies": { + "mocha": "*", + "findit": "*" + } +}