Commit graph

965 commits

Author SHA1 Message Date
Martin Middel
4b31574658 Rewrite pretty-printing HTML elements to prevent throwing internal errors
Fixes errors occuring when using a non-native DOM implementation
2014-06-30 20:38:14 +02:00
charlierudolph
7a0a6daeaa Fix assert documentation 2014-06-27 16:27:05 -07:00
charlierudolph
e8ff325d0e Remove unused argument 2014-06-08 14:06:56 -07:00
charlierudolph
216ad26aa1 Allow messages to be functions 2014-06-08 14:00:42 -07:00
Veselin
ab999d8917 Merge pull request #267 from shinnn/master
Use SVG badge
2014-06-08 06:29:08 +03:00
shinnn
59750903b5 Use SVG badge 2014-06-08 05:46:12 +09:00
Jake Luer
67a4f44841 Merge pull request #264 from cjthompson/keys_diff
Show diff for keys assertion
2014-05-28 16:51:32 -04:00
Chris Thompson
f99845c056 Show diff for keys assertion 2014-05-28 09:49:54 -06:00
Jake Luer
b7fdf4919e Release 1.9.1 2014-03-19 12:22:08 -04:00
Jake Luer
9243632bf5 deps update 2014-03-19 10:51:58 -04:00
Jake Luer
1df11d0027 util: [getActual] select actual logic now allows undefined for actual. Closes #183 2014-03-18 09:35:43 -04:00
Jake Luer
a0661120d9 docs: [config] make public, express param type 2014-03-18 08:44:31 -04:00
Jake Luer
b638a360d7 Merge pull request #251 from romario333/threshold3
Fix issue #166 - configurable threshold in objDisplay.
2014-03-18 08:39:31 -04:00
Roman Masek
9e5f9ffd3b Fix issue #166 - configurable threshold in objDisplay. 2014-03-18 08:20:15 +01:00
Roman Masek
7dd05e3b7a Move configuration options to config.js. 2014-03-18 08:18:11 +01:00
Jake Luer
07b34c7b49 Merge pull request #233 from Empeeric/master
ssfi as it should be
2014-02-25 12:43:59 -05:00
Jake Luer
4e25ff0e1c Merge pull request #244 from leider/fix_for_contains
fixing #239 (without changing chai.js)
2014-02-25 12:43:43 -05:00
Veselin
ce1990a2a3 Merge pull request #247 from didoarellano/typo-fixes
Fix typos
2014-02-22 21:59:51 +02:00
Dido Arellano
82ccc5e75b Fix typos 2014-02-23 02:39:30 +08:00
Veselin
4fc43cb38b Merge pull request #245 from lfac-pt/patch-1
Update `exports.version` to 1.9.0
2014-02-15 09:55:10 +02:00
Luís Cardoso
03344cb48d Update exports.version to 1.9.0 2014-02-14 19:10:29 +00:00
leider
2c78b57824 aborting loop on finding 2014-02-09 15:52:58 +01:00
leider
350a802a4e declaring variable only once 2014-02-09 14:42:00 +01:00
leider
cb910afc52 additional test finds incomplete implementation 2014-02-09 14:41:03 +01:00
leider
76b62f006f simplified code 2014-02-09 14:29:18 +01:00
leider
7352fdeec7 fixing #239 (without changing chai.js) 2014-02-09 13:31:45 +01:00
Refael Ackermann
62d9ceb208 ssfi as it should be 2014-01-30 10:23:19 +02:00
Jake Luer
407ce595b2 Merge pull request #228 from duncanbeevers/deep_members
Deep equality check for collection membership
2014-01-29 17:20:33 -08:00
Duncan Beevers
ec62443b7c Deep equality check for collection membership 2014-01-29 19:08:16 -06:00
Jake Luer
6256d8114e Release 1.9.0 2014-01-29 18:38:57 -05:00
Jake Luer
44a829cf89 docs: add contributing.md #238 2014-01-29 17:36:01 -05:00
Jake Luer
df55ce919c Merge branch 'master' of github.com:chaijs/chai 2014-01-29 17:23:02 -05:00
Jake Luer
c3c1fccc2d assert: .throws() returns thrown error. Closes #185 2014-01-29 17:22:29 -05:00
Jake Luer
be23285a78 Merge pull request #232 from laconbass/assert-throws
Avoid error instantiation if possible on assert.throws
2014-01-29 13:28:47 -08:00
Jake Luer
b01eba75c9 assert: .fail() parameter mismatch. Closes #206 2014-01-29 16:23:04 -05:00
Veselin Todorov
1e6b30555d Merge branch 'karma-fixes'
* karma-fixes:
  Add karma phantomjs launcher
  Use latest karma and sauce launcher
  Karma tweaks
2014-01-27 20:06:50 +02:00
Veselin Todorov
75b2c85e10 Add karma phantomjs launcher 2014-01-27 20:06:32 +02:00
Veselin Todorov
6daea5257f Use latest karma and sauce launcher 2014-01-27 20:06:32 +02:00
Veselin Todorov
e974abdd26 Karma tweaks 2014-01-27 20:06:09 +02:00
Veselin
a01e40b2cc Merge pull request #230 from jkroso/include
support `{a:1,b:2}.should.include({a:1})`
2014-01-27 07:11:45 -08:00
Jake Luer
54a8b1152a Merge pull request #237 from chaijs/coverage
Remove coveralls & generate coverage with istanbul
2014-01-26 12:03:48 -08:00
Veselin Todorov
dd9faa4445 Add coverage to npmignore 2014-01-26 08:48:07 +02:00
Veselin Todorov
6b1771e08d Remove lib-cov from test-travisci dependents 2014-01-26 08:47:31 +02:00
Veselin Todorov
9bf9d94aa7 Remove the not longer needed lcov reporter 2014-01-26 08:46:04 +02:00
Veselin Todorov
0d0b6f7d98 Test coverage with istanbul 2014-01-26 08:44:54 +02:00
Veselin Todorov
764d00e73c Remove jscoverage 2014-01-26 08:38:49 +02:00
Veselin Todorov
e8eae4c007 Remove coveralls 2014-01-26 08:35:09 +02:00
Veselin Todorov
3835bed2a6 Merge pull request #226 from duncanbeevers/add_has
Add `has` to language chains
2014-01-24 23:55:48 -08:00
laconbass
3741f0516d Avoid error instantiation if possible on assert.throws
Given an error constructor as function, try to get the error name from
its prototype or itself before relying on the old behaviour.

Closes #220

Replaces [the old pull](https://github.com/chaijs/chai/pull/221) to avoid
useless commits.
2014-01-15 18:49:16 +01:00
Veselin Todorov
1d0ce1354c Merge pull request #231 from duncanbeevers/update_copyright_year
Update Copyright notices to 2014
2014-01-06 01:32:27 -08:00