Commit graph

496 commits

Author SHA1 Message Date
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
Benjamin Horsleben
80aa590ec5 Added itself chain. 2012-06-02 19:27:55 +02:00
Jake Luer
a05cba500c simplify error inspections for cross browser compatibility 2012-05-29 13:28:41 -04:00
Jake Luer
d02e94adff fix safari addChainableMethod errors. Closes #69
- also added arguments alias to `Arguments`.
- note: one can also call `expect(arguments).to.be.an('arguments')`
2012-05-29 13:07:00 -04:00
Jake Luer
886e626e57 Release 1.0.3 2012-05-27 18:19:47 -04:00
domenic
8c680682dc Point Travis badge to the right place. 2012-05-27 17:36:36 -04:00
domenic
8cd580d7f2 Make error message for eql/deep.equal more clear. 2012-05-27 17:34:27 -04:00
domenic
db98bd69e6 Fix .not.deep.equal.
It wasn't passing the negation through.
2012-05-27 17:31:06 -04:00
Jake Luer
f273ed6f5a contributors list 2012-05-26 23:43:48 -04:00
Jake Luer
1b89af7114 Release 1.0.2 2012-05-26 23:39:29 -04:00
Jake Luer
eb6453a5ca Merge pull request #67 from chaijs/chaining-and-flags
Chaining and flags
2012-05-26 20:35:15 -07:00
domenic
93d9d98df0 Browser build.
Expect and assert tests now pass in IE9, IE10.
2012-05-26 22:41:34 -04:00
domenic
e1256e9005 Use addChainableMethod to get away from __proto__ manipulation.
Helps with #66.
2012-05-26 22:38:47 -04:00
domenic
3a67f058f0 New addChainableMethod utility.
Uses `transferFlags`, and will be used for Chai's `a`/`an` and `includes`/`contains`.
2012-05-26 22:34:55 -04:00
domenic
5455ce4b5d Replace getAllFlags with transferFlags utility.
This will help more directly with #66 and with domenic/chai-as-promised#5.
2012-05-26 21:38:10 -04:00
Jake Luer
0191e762b9 browser build 2012-05-22 14:51:39 -04:00
Jake Luer
6090d77ea8 test - get all flags 2012-05-22 14:51:39 -04:00
Jake Luer
ffab05a192 utility - get all flags 2012-05-22 14:51:39 -04:00
domenic
48da0bdb68 Add .mailmap to .npmignore. 2012-05-20 16:12:09 -04:00
domenic
d45b0b3c50 Add a .mailmap file to fix my name in shortlogs.
See http://stackoverflow.com/q/10638062/3191
2012-05-20 14:11:35 -04:00
Jake Luer
ca5368cf65 Release 1.0.1 2012-05-18 14:26:45 -04:00
Jake Luer
58ae39554a browser build 2012-05-18 14:24:29 -04:00
domenic
554944f82f Fixing "an" vs. "a" grammar in type assertions.
Now says stuff like "expected x to be an array" instead of "expected x to be a array."
2012-05-18 14:05:06 -04:00
domenic
46a2f1c406 Uniformize assert interface inline docs.
At the same time, made small tweaks to the should/expect ones.
2012-05-18 14:00:50 -04:00
domenic
ae3be8c684 Don't use instanceof for assert.isArray.
This makes it more compatible with cross-frame checks.
2012-05-18 14:00:46 -04:00