lib.js 372 B

12345678910111213141516
  1. var should = require("should")
  2. var harp = require('../lib');
  3. var middleware = require('../lib/middleware');
  4. describe("harp as a library", function() {
  5. it("should expose a mount function", function() {
  6. should(harp.mount).be.type('function');
  7. });
  8. it("should expose the middleware", function() {
  9. should(harp.middleware).be.equal(middleware);
  10. });
  11. });