Commit graph

670 commits

Author SHA1 Message Date
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
Jake Luer
723dbdfe98 comments on how to property use length as chain. Closes #74 2012-06-24 08:54:56 -04:00
Jake Luer
7629f8c4e5 tests for length as chainable property. #74 2012-06-24 08:46:44 -04:00
Jake Luer
0da5c375ce add support for length as chainable prop/method.
property can chain to above, below, within
`expect('foo').to.have.length.above(2);`
`expect('foo').to.have.length.below(4);`
`expect('foo').to.have.length.within(2,4);`
2012-06-24 08:44:14 -04:00
Jake Luer
25c4114206 Merge branch 'bug/77' 2012-06-24 08:22:30 -04:00
Jake Luer
5ed371e655 tests for getPathValue when working with nested arrays. Closes #77 2012-06-24 08:22:12 -04:00
Jake Luer
cf1bac542e add getPathValue support for nested arrays 2012-06-24 08:19:01 -04:00
Jake Luer
723728fe42 browser build 2012-06-24 07:44:00 -04:00
Jake Luer
802856849b fix bug for missing browser utils 2012-06-24 07:43:50 -04:00
Jake Luer
2c4d6b3477 compile tool aware of new folder layout 2012-06-24 07:42:27 -04:00
Jake Luer
013d4618dd Merge branch 'refactor/1dot1' 2012-06-24 07:19:19 -04:00
Jake Luer
cc0367a46a move core assertions to own file and refactor all using utils
* all properties are now defined using `Assertion.addProperty`
* all methods are now defined using `Assertion.addMethod`
2012-06-24 07:06:26 -04:00
Jake Luer
ff8455f303 rearrange folder structure 2012-06-24 06:25:36 -04:00
Jake Luer
40b0eb2268 Release 1.0.4 2012-06-03 19:29:39 -04:00
Jake Luer
65472738e5 Merge pull request #68 from fizker/itself
respondTo and functions
2012-06-03 15:39:14 -07:00