@wwkit/cft 1.0.27 → 1.0.28

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/README.md +1 -1
  2. package/package.json +6 -4
package/README.md CHANGED
@@ -58,7 +58,7 @@ pnpm start install
58
58
  ### 运行测试
59
59
 
60
60
  ```bash
61
- pnpm test # 单元测试
61
+ pnpm run ut # 单元测试(pnpm test 为其别名)
62
62
  ```
63
63
 
64
64
  ### 发布
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwkit/cft",
3
- "version": "1.0.27",
3
+ "version": "1.0.28",
4
4
  "author": "bluesliu <langcai163@163.com>",
5
5
  "description": "Chrome for Testing (CFT) installer — download, extract, chmod, dep-check",
6
6
  "type": "module",
@@ -36,7 +36,7 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "extract-zip": "^2.0.1",
39
- "@wwkit/shared": "1.0.27"
39
+ "@wwkit/shared": "1.0.28"
40
40
  },
41
41
  "devDependencies": {
42
42
  "jest": "^29.7.0"
@@ -44,8 +44,10 @@
44
44
  "scripts": {
45
45
  "postinstall": "node scripts/postinstall.js",
46
46
  "start": "node bin/index.js",
47
- "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-cache tests/unit",
48
- "test:all": "node --experimental-vm-modules node_modules/jest/bin/jest.js --no-cache tests/unit",
47
+ "ut": "node ../../scripts/run-tests.js unit",
48
+ "it": "node ../../scripts/run-tests.js integration",
49
+ "e2e": "node ../../scripts/run-tests.js e2e",
50
+ "test": "pnpm run ut",
49
51
  "release": "node ../../packages/shared/bin/release-pkg.js"
50
52
  }
51
53
  }