Skip to content

Instantly share code, notes, and snippets.

@patricksimpson
Last active December 17, 2015 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patricksimpson/5610302 to your computer and use it in GitHub Desktop.
Save patricksimpson/5610302 to your computer and use it in GitHub Desktop.
var App;
function App() {
this.panda = "sad";
}
module.exports = App;
var App, app, expect;
App = require("../../src/server/server.js"); //Server side code
expect = require("expect.js");
app = new App();
describe("server testing", function() {
it("should work", function() {
expect(typeof app).to.be("object");
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment