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

    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.
    committed Mar 29, 2012
  2. Bump version.

    committed Mar 29, 2012
  3. Fixing direct usage of fulfilled promises, an embarassing omission.

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

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

    But damn this code is getting ugly and opaque.
    committed Mar 25, 2012
  2. Very rough draft of `.eventually`.

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

    Negated versions work too.
    committed Mar 24, 2012
  2. Adding `.rejected.with(Constructor, "message substring")`.

    Negated version also works.
    committed Mar 24, 2012
  3. Updating control-flow comment.

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

    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.
    committed Mar 19, 2012
Commits on Mar 18, 2012
  1. No longer testing `broken` separately from `rejected`.

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

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

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

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

    committed Mar 18, 2012
  6. Adding `.rejected.with(Constructor)` and `broken` variant.

    That was an interesting trick!
    committed Mar 18, 2012
  7. Adding `rejected`

    committed Mar 18, 2012
  8. Adding `fulfilled`.

    committed Mar 18, 2012
  9. Initial project structure.

    Largely based off of Sinon–Chai.
    committed Mar 18, 2012