Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 29, 2012
  1. Making error constructor checking more lenient.

    authored
    Matches real world: for example restify's errors do not have a `name` property on their constructor or even their prototype (which is more common).
    
    Bumped version to 1.2.0.
  2. Bump version.

    authored
  3. Fixing direct usage of fulfilled promises, an embarassing omission.

    authored
    This introduces some inelegance, unfortunately, in deciding when an assertion chain is done being a chain and can become a resolved-with-undefined promise.
  4. Some cleanup.

    authored
Commits on Mar 25, 2012
  1. Got `.not.eventually` and `.eventually.not` working.

    authored
    But damn this code is getting ugly and opaque.
  2. Very rough draft of `.eventually`.

    authored
    Time to refactor!
Commits on Mar 24, 2012
  1. Adding `.rejected.with("message substring" or /regexp/)`.

    authored
    Negated versions work too.
  2. Adding `.rejected.with(Constructor, "message substring")`.

    authored
    Negated version also works.
  3. Updating control-flow comment.

    authored
Commits on Mar 19, 2012
  1. Making `.not.rejected.with(Constructor, /regexp/)` work.

    authored
    Follows Chai's `.not.throw(Constructor, /regexp/)` semantics, i.e. the assertion only succeeds if both the constructor is different and the regexp doesn't match.
Commits on Mar 18, 2012
  1. No longer testing `broken` separately from `rejected`.

    authored
    Now it just checks directly to ensure `broken` is a synonym for `rejected`.
  2. Making tests a bit easier to read with the list reporter.

    authored
    Helps also for the case of a failing test, where Mocha prints out the entire line (just as in the list reporter).
  3. Fixing `.not.rejected.with(Constructor)`.

    authored
    Did massive reorg and documentation of the `rejected` + `with` flow in the process.
  4. Using Promised Chai used to test itself!!

    authored
    The moment you've all been waiting for arrives. Using `expect` to test `should`, for clarity.
  5. Making `.not.fulfilled` work.

    authored
  6. Adding `.rejected.with(Constructor)` and `broken` variant.

    authored
    That was an interesting trick!
  7. Adding `rejected`

    authored
  8. Adding `fulfilled`.

    authored
  9. Initial project structure.

    authored
    Largely based off of Sinon–Chai.
Something went wrong with that request. Please try again.