@vitest/expect 4.0.6 → 4.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -428,7 +428,7 @@ interface JestAssertion<T = any> extends jest.Matchers<void, T>, CustomMatcher {
|
|
|
428
428
|
/**
|
|
429
429
|
* Using exact equality with floating point numbers is a bad idea.
|
|
430
430
|
* Rounding means that intuitive things fail.
|
|
431
|
-
* The default for `
|
|
431
|
+
* The default for `numDigits` is 2.
|
|
432
432
|
*
|
|
433
433
|
* @example
|
|
434
434
|
* expect(price).toBeCloseTo(9.99, 2);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitest/expect",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.
|
|
4
|
+
"version": "4.0.8",
|
|
5
5
|
"description": "Jest's expect matchers as a Chai plugin",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"funding": "https://opencollective.com/vitest",
|
|
@@ -31,13 +31,13 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"@standard-schema/spec": "^1.0.0",
|
|
33
33
|
"@types/chai": "^5.2.2",
|
|
34
|
-
"chai": "^6.0
|
|
34
|
+
"chai": "^6.2.0",
|
|
35
35
|
"tinyrainbow": "^3.0.3",
|
|
36
|
-
"@vitest/
|
|
37
|
-
"@vitest/
|
|
36
|
+
"@vitest/spy": "4.0.8",
|
|
37
|
+
"@vitest/utils": "4.0.8"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"@vitest/runner": "4.0.
|
|
40
|
+
"@vitest/runner": "4.0.8"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"build": "premove dist && rollup -c",
|