a2656d89cc98c1a12b849ea1833f40b26cb15cb7
[yaffs-website] / node_modules / phridge / test / main.test.js
1 "use strict";
2
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");
9
10 require("./helpers/setup.js");
11
12 describe("phridge", function () {
13
14     describe(".config", function () {
15
16         it("should be the config-module", function () {
17             expect(phridge.config).to.equal(config);
18         });
19
20     });
21
22     describe(".spawn", function () {
23
24         it("should be the spawn-module", function () {
25             expect(phridge.spawn).to.equal(spawn);
26         });
27
28     });
29
30     describe(".disposeAll", function () {
31
32         it("should be the exitAll-module", function () {
33             expect(phridge.disposeAll).to.equal(disposeAll);
34         });
35
36     });
37
38 });