Skip to content

Instantly share code, notes, and snippets.

@martsie
Created January 25, 2017 08:44
Show Gist options
  • Save martsie/6df597dcb175d1d134c124ebfda0ae1b to your computer and use it in GitHub Desktop.
Save martsie/6df597dcb175d1d134c124ebfda0ae1b to your computer and use it in GitHub Desktop.
Qunit test class for a CoffeeScript class
QUnit.module 'Person class'
test 'Full name is printed correctly', ->
person = new Person('James', 'Bond')
equal 'James Bond', do person.fullName, 'Full name was printed correctly'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment