Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 18, 2015
  1. @rauchg

    Merge pull request #122 from janmarek/throw-alias

    rauchg authored
    Added alias throw to throwException/throwError
  2. @janmarek
Commits on Jan 17, 2015
  1. @rauchg

    Merge pull request #125 from Rauno56/fix/runTest

    rauchg authored
    Fix/run test
  2. @rauchg

    Update README.md

    rauchg authored
Commits on Nov 17, 2014
  1. @Rauno56

    feat: Add `npm test` script

    Rauno56 authored
  2. @Rauno56
Commits on Feb 20, 2014
  1. @rauchg

    README: update

    rauchg authored
  2. @rauchg

    Release 0.3.1

    rauchg authored
  3. @rauchg

    index: bump version

    rauchg authored
  4. @rauchg

    Release 0.3.0

    rauchg authored
  5. @rauchg

    switch to `index`

    rauchg authored
  6. @rauchg

    Merge pull request #99 from benjamine/patch-1

    rauchg authored
    added repository to package.json
Commits on Feb 15, 2014
  1. @benjamine

    added repository to package.json

    benjamine authored
    this will stop npm from throwing a warning everytime expect.js is installed
Commits on Jun 12, 2013
  1. @rauchg

    Merge pull request #53 from hotchemi/spike

    rauchg authored
    simpify isDate() and remove unnecessary semicolon.
  2. @hotchemi
Commits on Jun 5, 2013
  1. @hotchemi

    simpify isDate() and remove unnecessary semicolon.

    hotchemi authored unknown committed
Commits on Jun 4, 2013
  1. @rauchg

    Merge pull request #54 from timshadel/master

    rauchg authored
    Add .with() syntax for easier scenarios
  2. @timshadel

    Add .withArgs() syntax for building scenario

    timshadel authored
    Makes it easy to test that a function validates its inputs.
  3. @rauchg

    Merge pull request #29 from nathanmacinnes/master

    rauchg authored
    Expose object stringification function `i`
  4. @rauchg

    Merge pull request #26 from amasad/fix-25

    rauchg authored
    Use isRegExp in Assertion::throwException. Fix #25
  5. @rauchg

    Merge pull request #17 from tricknotes/cleanup

    rauchg authored
    Cleaned up local variables
  6. @rauchg

    Merge pull request #34 from curvedmark/mocha-diff

    rauchg authored
    Add 'actual' & 'expected' property to the thrown error
  7. @rauchg

    Merge pull request #46 from bramstein/bs-add-regexp

    rauchg authored
    Add support for 'regexp' type and eql comparison of regular expressions.
  8. @rauchg

    Merge pull request #52 from mikeando/master

    rauchg authored
    Addition of formatting for Error objects.
  9. @rauchg

    Merge pull request #56 from aseemk/patch-1

    rauchg authored
    eql(): fix wrong order of actual vs. expected
Commits on May 25, 2013
  1. @aseemk

    eql(): fix wrong order of actual vs. expected.

    aseemk authored
    The helper `expect.eql()` function, like typical assertion methods,
    takes `actual` then `expected`:
    
    https://github.com/LearnBoost/expect.js/blob/master/expect.js#L850
    
    But the `Assertion.prototype.eql` wrapper has been incorrectly
    passing `this.obj` (the object being tested) as the `expected`, and
    vice versa passing `obj` (the object used for comparison) as the
    `actual`. This fixes that.
Commits on Apr 10, 2013
  1. @mikeando

    Added formatting for Error objects

    mikeando authored
    Printing an error object from node.js generates an unhelpful `{}` response.
    
    ~~~
    var e = new Error("Something went bad");
    expect(e).to.be(null); // Prints Error: expected {} to equal null
    ~~~
    
    Passing the response through toString gives a nicer result:
    
    ~~~
    Prints Error: expected [Error: Something went wrong] to equal null
    ~~~
Commits on Feb 18, 2013
  1. @bramstein
Commits on Oct 19, 2012
  1. @rauchg

    Release 0.2.0

    rauchg authored
  2. @rauchg

    Merge pull request #35 from satazor/master

    rauchg authored
    Fix isRegExp bug in some edge cases
  3. @satazor
Commits on Sep 27, 2012
  1. Better to follow the same coding style

    Gavin Huang authored
  2. Use 'showDiff' flag

    Gavin Huang authored
Commits on Sep 25, 2012
  1. Add 'actual' & 'expected' property to the thrown error

    Gavin Huang authored
  2. Pass .fail() unit test

    Gavin Huang authored
Something went wrong with that request. Please try again.