Skip to content

Instantly share code, notes, and snippets.

@patricksimpson
Last active December 17, 2015 12:29
Show Gist options
  • Save patricksimpson/5610291 to your computer and use it in GitHub Desktop.
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