]> khamidou — GitHub mirrors - electron.git/commitdiff
Install spec's third party modules in the source root.
authorCheng Zhao <zcbenz@gmail.com>
Wed, 17 Jul 2013 10:51:16 +0000 (18:51 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 17 Jul 2013 10:51:16 +0000 (18:51 +0800)
package.json
spec/index.html
spec/node/message_loop.coffee
spec/package.json

index 8606627711c013a16542f30c0339f1b9e53acb6c..05ba56525160eebd407cbfa98d0d1684fa9bfbbd 100644 (file)
@@ -3,7 +3,9 @@
   "version" : "0.1.0",
 
   "dependencies": {
-    "coffee-script": "1.6.2"
+    "coffee-script": "1.6.2",
+    "mocha": "*",
+    "findit": "*"
   },
 
   "private": true,
index 4a0bf3f8f040e1ea17a038d96cdecf60374fefa4..179226ae05e4593473874b053a1215ef8d31ad89 100644 (file)
@@ -1,6 +1,6 @@
 <html>
 <head>
-  <link href="node_modules/mocha/mocha.css" rel="stylesheet">
+  <link href="../node_modules/mocha/mocha.css" rel="stylesheet">
 </head>
 <body>
 
index a934814c73af4288f47a32e5e897039daae60b5b..da47385f5b17f02f67f90fcd4c93e06c3b10948a 100644 (file)
@@ -1,5 +1,3 @@
-assert = require 'assert'
-
 describe 'message loop', ->
   describe 'process.nextTick', ->
     it 'should emit the callback', (done) ->
index 8201e25316e1c7f09b9d71a067939afa1897d15a..ae97d1ae03738e758c888fa9c6a8fdb37b891f65 100644 (file)
@@ -1,9 +1,5 @@
 {
   "name": "atom-shell-specs",
   "main": "main.js",
-  "version": "0.1.0",
-  "dependencies": {
-    "mocha": "*",
-    "findit": "*"
-  }
+  "version": "0.1.0"
 }