commit 51059a056e17ab478541a04bba3e3ee265ec09e2
parent d970bd118f724842ba458d081bc493bd33dc56bd
Author: MTRNord <mtrnord1@gmail.com>
Date: Thu, 17 Mar 2016 21:05:57 +0100
Try to fix mocha
Diffstat:
3 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/package.json b/package.json
@@ -4,7 +4,7 @@
"description": "A clone of the eBot by deStrO fully based on node.js with build in Web Page",
"main": "start.js",
"scripts": {
- "test": "./node_modules/.bin/mocha --reporter tests"
+ "test": "./node_modules/.bin/mocha"
},
"repository": {
"type": "git",
diff --git a/test/start.js b/test/start.js
@@ -0,0 +1,9 @@
+describe("Placeholder", function() {
+ describe("More Placeholder", function() {
+ it("keeps place", function() {
+ var placeholderVar = 1;
+
+ expect(placeholderVar).to.equal(1);
+ });
+ });
+});
diff --git a/tests/start.js b/tests/start.js
@@ -1,7 +0,0 @@
-describe("Placeholder", function() {
- it("keeps place", function() {
- var placeholderVar = 1;
-
- expect(placeholderVar).to.equal(1);
- });
-});