Skip to content

Instantly share code, notes, and snippets.

@patricksimpson
Last active December 17, 2015 12:29
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save patricksimpson/5610291 to your computer and use it in GitHub Desktop.
var AppClient = function() {
this.name = "Panda";
};
AppClient.prototype.setName = function(name) {
this.name = name;
};
AppClient.prototype.getName = function() {
return this.name;
};
describe("The Client App...", function() {
var client;
beforeEach(function(){
client = new AppClient();
});
it("is a constructable object", function() {
expect(typeof client).not.toBeUndefined();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment