Commit graph

634 commits

Author SHA1 Message Date
Jake Luer
ca18882362 Merge branch 'master' of git://github.com/Liffft/chai into Liffft-master
* 'master' of git://github.com/Liffft/chai:
  Cleaning up the js style…
  expect tests now include message pass-through
  packaging up browser-side changes…
  Increasing Throws error message verbosity
  Should syntax: piping message through

Conflicts:
	test/expect.js
2012-10-01 15:06:24 -04:00
Jake Luer
ff3bbc22d4 browser build 2012-10-01 14:47:35 -04:00
Jake Luer
9dd85eabd3 improved buffer deep equal checking 2012-10-01 14:47:21 -04:00
Jake Luer
2c4828932d mocha is npm test command 2012-10-01 14:46:34 -04:00
Scott Nonnenberg
00b2ed3840 Cleaning up the js style…
I've been writing too much coffeescript!
2012-09-05 11:24:27 -07:00
Scott Nonnenberg
d6bbc5fddd expect tests now include message pass-through 2012-09-05 11:13:14 -07:00
Scott Nonnenberg
57a6e04df6 packaging up browser-side changes…
(tests passing in Chrome 21.0.1180.89 and Firefox 15. Safari 6.0 (7536.25) passes all tests except for the three includeStack tests.
2012-09-05 02:19:04 -07:00
Scott Nonnenberg
941f992a26 Increasing Throws error message verbosity
'cause we actually want to know what was thrown.
2012-09-04 23:13:44 -07:00
Scott Nonnenberg
e383a6ece8 Should syntax: piping message through 2012-09-04 23:10:25 -07:00
Domenic Denicola
e8cc23ddd9 Make globalShould test work in browser too.
Needed to move `should` from test/should.js out of the global scope.
2012-08-24 22:33:47 -04:00
Domenic Denicola
1024e2dd14 Add a setter for Object.prototype.should. Closes #86. 2012-08-24 20:28:13 -04:00
Jake Luer
35bec1b896 Release 1.2.0 2012-08-07 01:05:25 -04:00
Jake Luer
9c2e3715f6 add node 0.8 to travis 2012-08-07 01:04:57 -04:00
Jake Luer
deb603da39 Merge branch 'feature/errmsg'
* feature/errmsg:
  browser build
  comment updates for utilities
  tweak objDislay to only kick in if object inspection is too long
  first draft of error message refactor. #93
2012-08-07 00:59:07 -04:00
Jake Luer
5cc7476f92 browser build 2012-08-07 00:59:00 -04:00
Jake Luer
a83c7772e0 comment updates for utilities 2012-08-07 00:57:59 -04:00
Jake Luer
7ce5e9347e tweak objDislay to only kick in if object inspection is too long 2012-08-07 00:57:38 -04:00
Jake Luer
502f4e3488 Merge branch 'master' into feature/errmsg
* master:
  add display sample for error message refactor
2012-08-01 21:13:02 -04:00
Jake Luer
429cb6d5a6 add display sample for error message refactor 2012-08-01 21:12:49 -04:00
Jake Luer
dc6c5533eb first draft of error message refactor. #93 2012-08-01 21:05:25 -04:00
Jake Luer
19fe54399b add closeTo assertion to assert interface. Closes #89. 2012-08-01 20:21:52 -04:00
Jake Luer
2035510254 update folio build for better require.js handling. Closes #85 2012-08-01 20:08:58 -04:00
Jake Luer
cc444e0430 Merge pull request #92 from paulmillr/topics/add-dom-checks
Add check for DOM objects in util.inspect().
2012-08-01 16:20:14 -07:00
Paul Miller
6b66ce72dd Add check for DOM objects. 2012-07-28 03:27:38 +03:00
Jake Luer
ebb9840e62 browser build 2012-07-26 14:17:48 -04:00
Jake Luer
e6d69c36e4 Merge branch 'master' of github.com:chaijs/chai 2012-07-26 14:12:23 -04:00
Jake Luer
4e3c89a14d bug - getActual not defaulting to assertion subject 2012-07-26 14:11:43 -04:00
Jake Luer
4edf6d5a46 Merge pull request #88 from pwnall/master
Don't inspect() assertion arguments if the assertion passes
2012-07-19 10:41:13 -07:00
Victor Costan
f269726e9c Don't inspect() assertion arguments if the assertion passes. 2012-07-19 02:09:14 -07:00
Jake Luer
b7aae4601f Release 1.1.1 2012-07-09 12:49:18 -04:00
Jake Luer
2621414573 improve commonjs support on browser build 2012-07-09 12:47:29 -04:00
Jake Luer
c7bf837721 Merge pull request #83 from tkazec/equals
Add .equals as an alias of .equal
2012-07-09 09:36:40 -07:00
Teddy Cross
ddfea9575b Document .equals
Not sure why it decided to move error.js around. Oh well?
2012-07-07 14:47:28 -04:00
Teddy Cross
45e458067a Add .equals as an alias of .equal 2012-07-07 13:49:18 -04:00
Jake Luer
0b328e94af remove unused browser prefix/suffix 2012-06-30 22:56:45 -04:00
Jake Luer
f561b6b44b Merge branch 'feature/folio-build' 2012-06-30 22:55:17 -04:00
Jake Luer
6689668752 browser build 2012-06-30 22:55:04 -04:00
Jake Luer
4a69d85028 using folio to compile 2012-06-30 22:54:54 -04:00
Jake Luer
1e8dbc101f clean up makefile 2012-06-30 22:54:38 -04:00
Jake Luer
e0b69b5a1d early folio 0.3.x support 2012-06-30 08:25:24 -04:00
Jake Luer
456ee6ad83 Release 1.1.0 2012-06-26 14:32:49 -04:00
Jake Luer
a6e22390c8 browser build 2012-06-26 14:30:43 -04:00
Domenic Denicola
61db4e05c6 Disable "Assertion.includeStack is false" test in IE.
This only manifested in IE 10; IE 9 was fine since it didn't have the `stack` property.
2012-06-26 12:35:41 -04:00
Domenic Denicola
79c3654691 Use utils.getName for all function inspections.
This makes the `respondTo` tests pass in IE, where functions don't themselves have a `name` property.
2012-06-26 12:30:25 -04:00
Jake Luer
ea997a8cb6 Merge pull request #80 from kilianc/closeTo
fixes #79, closeTo doesn't deal with ranges
2012-06-26 05:27:56 -07:00
Kilian Ciuffolo
da2bbbf666 fixes #79 2012-06-26 13:41:15 +02:00
Jake Luer
49d8526205 browser build 2012-06-24 09:16:16 -04:00
Jake Luer
c85882691f expand docs to indicate change of subject for chaining. Closes #78 2012-06-24 09:14:15 -04:00
Jake Luer
94cfe27c4c add that chain noop 2012-06-24 08:57:40 -04:00
Jake Luer
657114ee4d Merge branch 'bug/74' 2012-06-24 08:55:09 -04:00