Version 1
[yaffs-website] / node_modules / phridge / test / main.test.js
diff --git a/node_modules/phridge/test/main.test.js b/node_modules/phridge/test/main.test.js
new file mode 100644 (file)
index 0000000..a2656d8
--- /dev/null
@@ -0,0 +1,38 @@
+"use strict";
+
+var chai = require("chai");
+var expect = chai.expect;
+var config = require("../lib/config");
+var spawn = require("../lib/spawn");
+var disposeAll = require("../lib/disposeAll");
+var phridge = require("../lib/main.js");
+
+require("./helpers/setup.js");
+
+describe("phridge", function () {
+
+    describe(".config", function () {
+
+        it("should be the config-module", function () {
+            expect(phridge.config).to.equal(config);
+        });
+
+    });
+
+    describe(".spawn", function () {
+
+        it("should be the spawn-module", function () {
+            expect(phridge.spawn).to.equal(spawn);
+        });
+
+    });
+
+    describe(".disposeAll", function () {
+
+        it("should be the exitAll-module", function () {
+            expect(phridge.disposeAll).to.equal(disposeAll);
+        });
+
+    });
+
+});
\ No newline at end of file