Implements node.js's assert but for the browser (Now merged into drews-mixins)
JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
assert-browser-test.coffee
assert-browser-test.js
assert-browser.coffee
assert-browser.js
index.html

README.md

#assert-browser

Implements some of the assert functions from node.js

For use in the browser.

See the tests run

Added stuff on top of the normal assert:

  • assert.count : Count of all asserts made
  • assert.passCount: Count of all tests that passed
  • assert.failCount: Count of all tests that failed