Skip to content

Instantly share code, notes, and snippets.

@yanick
Created April 1, 2015 19:52
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 yanick/ac018feede1d2087c418 to your computer and use it in GitHub Desktop.
Save yanick/ac018feede1d2087c418 to your computer and use it in GitHub Desktop.
TAP-ish wrappers for Jasmine
// I miss TAP...
function pass() { return expect(true).toBeTruthy() }
function fail() { return expect(false).toBeTruthy() }
function ok(thing) { return expect(thing).toBeTruthy() }
function is(have,expected) { return expect(have).toBe(expected) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment