Skip to content

Instantly share code, notes, and snippets.

@michaelilyin
Last active June 5, 2018 11:32
Show Gist options
  • Save michaelilyin/2449be56e90772684c3c642ccc40b66d to your computer and use it in GitHub Desktop.
Save michaelilyin/2449be56e90772684c3c642ccc40b66d to your computer and use it in GitHub Desktop.
Angular testing
describe('Person class', () => {
it('should provide full name', () => {
const person = new Person('John', 'Smith');
expect(person.fullName).toBeTruthy();
expect(person.fullName).toEqual('John Smith')
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment