Skip to content

Instantly share code, notes, and snippets.

@lpaulger
Last active June 17, 2016 12:22
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 lpaulger/1a20183d75937ade27293ad5f5edff28 to your computer and use it in GitHub Desktop.
Save lpaulger/1a20183d75937ade27293ad5f5edff28 to your computer and use it in GitHub Desktop.
example first test for legacy code
describe('when creating a ThingViewModel', function () {
it('should return an object', function () {
var thingViewModel = new ThingViewModel();
expect(typeof thingViewModel).toBe('object');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment