3 var chai = require("chai");
4 var expect = chai.expect;
5 var config = require("../lib/config");
6 var spawn = require("../lib/spawn");
7 var disposeAll = require("../lib/disposeAll");
8 var phridge = require("../lib/main.js");
10 require("./helpers/setup.js");
12 describe("phridge", function () {
14 describe(".config", function () {
16 it("should be the config-module", function () {
17 expect(phridge.config).to.equal(config);
22 describe(".spawn", function () {
24 it("should be the spawn-module", function () {
25 expect(phridge.spawn).to.equal(spawn);
30 describe(".disposeAll", function () {
32 it("should be the exitAll-module", function () {
33 expect(phridge.disposeAll).to.equal(disposeAll);