@nocobase/test 2.1.0-alpha.20 → 2.1.0-alpha.22

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/package.json +4 -4
  2. package/vitest.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/test",
3
- "version": "2.1.0-alpha.20",
3
+ "version": "2.1.0-alpha.22",
4
4
  "main": "lib/index.js",
5
5
  "module": "./src/index.ts",
6
6
  "types": "./lib/index.d.ts",
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@faker-js/faker": "8.1.0",
54
- "@nocobase/server": "2.1.0-alpha.20",
55
- "@nocobase/utils": "2.1.0-alpha.20",
54
+ "@nocobase/server": "2.1.0-alpha.22",
55
+ "@nocobase/utils": "2.1.0-alpha.22",
56
56
  "@playwright/test": "^1.45.3",
57
57
  "@testing-library/jest-dom": "^6.4.2",
58
58
  "@testing-library/react": "^14.0.0",
@@ -77,5 +77,5 @@
77
77
  "vitest-dom": "^0.1.1",
78
78
  "ws": "^8.13.0"
79
79
  },
80
- "gitHead": "3d1535db6bf93ca23257faf474afee0d565f54c6"
80
+ "gitHead": "a1ac28a12fd06c1233f2f7b062c90c0c9bb64222"
81
81
  }
package/vitest.mjs CHANGED
@@ -181,6 +181,10 @@ export const getFilterInclude = (isServer, isCoverage) => {
181
181
  return false;
182
182
  });
183
183
 
184
+ if (argv[0] === 'run' || argv[0] === 'watch') {
185
+ argv = argv.slice(1);
186
+ }
187
+
184
188
  let filterFileOrDir = argv[0];
185
189
 
186
190
  if (!filterFileOrDir) return {};