@vitest/expect 3.0.0-beta.3 → 3.0.0-beta.4

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -647,7 +647,7 @@ if (!Object.prototype.hasOwnProperty.call(globalThis, MATCHERS_OBJECT)) {
647
647
  const globalState = /* @__PURE__ */ new WeakMap();
648
648
  const matchers = /* @__PURE__ */ Object.create(null);
649
649
  const customEqualityTesters = [];
650
- const assymetricMatchers = /* @__PURE__ */ Object.create(null);
650
+ const asymmetricMatchers = /* @__PURE__ */ Object.create(null);
651
651
  Object.defineProperty(globalThis, MATCHERS_OBJECT, {
652
652
  get: () => globalState
653
653
  });
@@ -660,7 +660,7 @@ if (!Object.prototype.hasOwnProperty.call(globalThis, MATCHERS_OBJECT)) {
660
660
  })
661
661
  });
662
662
  Object.defineProperty(globalThis, ASYMMETRIC_MATCHERS_OBJECT, {
663
- get: () => assymetricMatchers
663
+ get: () => asymmetricMatchers
664
664
  });
665
665
  }
666
666
  function getState(expect) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vitest/expect",
3
3
  "type": "module",
4
- "version": "3.0.0-beta.3",
4
+ "version": "3.0.0-beta.4",
5
5
  "description": "Jest's expect matchers as a Chai plugin",
6
6
  "license": "MIT",
7
7
  "funding": "https://opencollective.com/vitest",
@@ -32,13 +32,13 @@
32
32
  "dependencies": {
33
33
  "chai": "^5.1.2",
34
34
  "tinyrainbow": "^1.2.0",
35
- "@vitest/spy": "3.0.0-beta.3",
36
- "@vitest/utils": "3.0.0-beta.3"
35
+ "@vitest/spy": "3.0.0-beta.4",
36
+ "@vitest/utils": "3.0.0-beta.4"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@types/chai": "4.3.6",
40
40
  "rollup-plugin-copy": "^3.5.0",
41
- "@vitest/runner": "3.0.0-beta.3"
41
+ "@vitest/runner": "3.0.0-beta.4"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "rimraf dist && rollup -c",