Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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