Pascal Corpet
c8a4e00c51
feat: use chaijs/loupe for inspection ( #1401 ) ( #1407 )
...
Fix #1228
2021-07-08 09:52:49 +01:00
Keith Cirkel
ab41ed86cc
4.3.4
2021-03-12 16:50:35 +00:00
Mike Frysinger
5b607a144e
fix: support inspecting bigints ( #1321 ) ( #1383 )
2021-03-12 16:49:06 +00:00
Keith Cirkel
dc858a0353
chai@4.3.3
2021-03-03 18:20:49 +00:00
rbruckheimer
b0f50f6402
export chai.Assertion ( #1378 )
2021-03-03 18:20:22 +00:00
Keith Cirkel
3b9bc7f56d
chai@4.3.2
2021-03-03 18:17:46 +00:00
Lee Newson
71245a3e33
Fixed a regression that caused SyntaxErrors on IE 11
...
The changes made in #1334 incorrectly used an arrow function and as this isn't supported on IE 11 it causes a SyntaxError to be thrown when loading chai.
2021-03-03 18:16:18 +00:00
Keith Cirkel
8a24666156
chai@4.3.1
2021-03-02 18:18:54 +00:00
Keith Cirkel
9635906f89
chore: bump devdeps
2021-03-02 18:17:29 +00:00
Janne Kiiskilä
c8449d31db
fix: package.json - pathval to 1.1.1 (CVE-2020-7751) ( #1377 )
...
* package.json - pathval to 1.1.1 (CVE-2020-7751)
Update pathval to version 1.1.1 to include fix for CVE-2020-7751.
* package-lock - pathval v1.1.1 update
Update the package-lock as well, this one needs updating, too.
2021-03-02 18:12:04 +00:00
Kelly Selden
7bc01d6fc0
fix: bring min node version in line with still supported ( #1374 )
2021-02-05 17:06:53 +00:00
Jakub Vrána
61feee1f1f
docs: add non-nullable modifier to return type of functions never returning null ( #1322 )
2021-02-05 15:08:46 +00:00
Blake Regalia
de12e401bc
feat: add exists alias ( #1227 )
...
* feat(assertions): add 'exists' alias (#1225 )
* docs(assertions): remove bad `exists` example
* test(assertions): add `exists` cases
* test(should): remove `exists` tests from should interface
2021-02-04 11:10:23 +00:00
Horie Issei
ad385b8481
docs: correct doesNotDecreaseBy name ( #1285 ) ( #1286 )
...
Co-authored-by: Issei Horie <is2ei.horie@gmail.com>
2021-02-04 11:08:53 +00:00
Andrzej Bartosiński
4ce3ca83e5
feat: add extra aliases for 'most' and 'least' ( #1319 )
2021-02-04 11:08:17 +00:00
sportshead
77565f7c2c
feat: add also
language chain ( #1324 )
...
* Add `also` language chain
This would be helpful, as the property doesn't clash with other methods.
* Add `also` to tests
2021-02-04 11:07:26 +00:00
Rens Groothuijsen
817284c01b
feat: add "deep" flag in oneOf ( #1334 )
2021-02-04 11:06:59 +00:00
Grigoriy
6c963d00ac
build: drop test for IE10 ( #1353 )
2021-02-04 11:04:28 +00:00
Wias Liaw
f5c19e93c8
docs: fix missing arguments in increasesButNotBy
( #1361 )
2021-02-04 11:03:59 +00:00
Daniel Venturini
6745d8c4f5
docs: fix JSDoc identation ( #1355 )
2021-02-04 11:01:40 +00:00
Keith Cirkel
39dd113f36
chai@4.3.0
2021-02-04 10:55:37 +00:00
Keith Cirkel
1044f687c1
chore: npm audit fix
2021-02-04 10:54:42 +00:00
Daniel Venturini
23764f340d
Fix JSDoc name ( #1354 )
2020-07-13 10:36:46 +01:00
David Luzar
b91d0a842c
fix: unbox BigInt primitives in shouldGetter ( #1349 )
...
* unbox BigInt primitives in shouldGetter
* add tests
2020-06-17 17:23:03 +01:00
Grigoriy
e54d834be7
test: replaced arrow function for IE support ( #1348 )
2020-06-12 15:54:07 +01:00
Paulo Gonçalves
2637ca2eb6
chore(funding): display sponsor button for open collective ( #1346 )
...
Add a sponsor button to the repository to increase the visibility of
funding options for the project
2020-06-12 14:29:34 +01:00
Gil Tayar
e08ca08f3b
feat: add Node.js ESM entry point with named and default exports ( #1340 )
...
* add Node.js ESM entry point with named and default exports
* ensure that deep importing works
2020-06-09 11:17:41 +01:00
Curtis Gibby
2fb8983f3c
docs: add missing apostrophes ( #1344 )
2020-06-09 11:16:50 +01:00
Hadi Ghattas
41ff363e26
docs: add --save-dev to npm install command ( #1289 )
...
Add --save-dev to npm install command in README.md
2020-03-19 11:36:59 +00:00
flaambe
8c2b25ca1b
docs: Node version >=8 in README ( #1306 )
2020-02-06 11:25:19 +01:00
flaambe
0e543bf9b3
test: The Buffer() and new Buffer() constructors are deprecated ( #1305 )
2020-01-22 10:12:57 +00:00
Ruwan Pradeep Geeganage
7ff1273142
feat: improve include error message ( #1273 )
2019-08-19 14:30:05 +01:00
Lucas Vieira
03913cbaa1
Merge pull request #1242 from voliva/contains-oneOf
...
(feat): expect value to contain oneOf
2019-06-27 21:19:40 -03:00
Víctor Oliva
9d2f6dc989
docs(oneOf): Add contains flag to oneOf documentation
2019-06-26 23:18:19 +02:00
Víctor Oliva
7eaf684b1a
feat(oneOf): expect(value).to.contain.oneOf([])
2019-06-26 23:18:10 +02:00
Ruwan Pradeep Geeganage
8dc92d870a
Adding operator attribute to assertion error ( #1257 )
...
* feat: adding operator attribute to assertion error
You can set the operator as mentioned below.
flag(this, 'operator', MYOPERATOR).
for example,
flag(obj, 'operator', 'notEqual')
2019-06-25 14:39:16 -03:00
greenkeeper[bot]
195834108e
chore(package): update lockfile package-lock.json
2019-06-17 08:09:29 -03:00
greenkeeper[bot]
7bb36a4610
chore(package): update mocha to version 6.1.4
...
Closes #1237
2019-06-17 08:09:29 -03:00
Lucas Vieira
42509fac01
test: make sure that useProxy config is checked in overwriteProperty
2019-06-05 15:26:38 -03:00
Lucas Vieira
18d84948f4
chore: add node v10 and v12 to ci
2019-06-05 15:26:38 -03:00
Lucas Vieira
6740969bc8
chore: drop support for node v4, v6 and v9
2019-06-05 15:26:38 -03:00
Jérémie Astori
6441f3df2f
Merge pull request #1248 from eouw0o83hf/master
...
Add delta message to closeTo() error
2019-04-20 21:08:58 -04:00
Nathan Landis
6bfd2fd131
Include some missed some test files
2019-04-17 16:44:03 -05:00
Nathan Landis
8d6330cc04
Add delta message to closeTo() error
2019-04-17 16:31:57 -05:00
Víctor Oliva
5930c0112f
test(oneOf): Add failing tests for contain.oneOf
2019-03-12 17:33:22 +01:00
Grant Snodgrass
1cededa167
Merge pull request #1216 from chaijs/fix-build
...
Fix build
2018-12-31 13:56:53 -05:00
Grant Snodgrass
8b73a482b5
chore: fix sauce config for headless chrome
2018-12-14 22:08:20 +00:00
Grant Snodgrass
d275fd6b97
chore: update dev dependencies
2018-12-14 21:13:49 +00:00
ossdev07
929c109e1a
chore: Removed phantomjs dependency ( #1204 )
...
* chore: Removed phantomjs dependency
Added support for chrome headless
Signed-off-by: ossdev07 <ossdev@puresoftware.com>
* Update karma.conf.js
* Update Makefile
2018-11-09 19:28:45 +01:00
Grant Snodgrass
26c8a794ec
chore: chai@4.2.0 ( #1201 )
2018-09-26 10:39:58 +01:00