@eggjs/mock 6.0.3 → 6.0.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.
@@ -47,6 +47,7 @@ export interface MockClusterOptions extends MockOptions {
47
47
  * opt pass to coffee, such as { execArgv: ['--debug'] }
48
48
  */
49
49
  opt?: object;
50
+ startMode?: 'process' | 'worker_threads';
50
51
  }
51
52
  /**
52
53
  * @deprecated please use MockOptions instead
@@ -47,6 +47,7 @@ export interface MockClusterOptions extends MockOptions {
47
47
  * opt pass to coffee, such as { execArgv: ['--debug'] }
48
48
  */
49
49
  opt?: object;
50
+ startMode?: 'process' | 'worker_threads';
50
51
  }
51
52
  /**
52
53
  * @deprecated please use MockOptions instead
package/dist/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@eggjs/mock",
3
- "version": "6.0.3"
3
+ "version": "6.0.4"
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eggjs/mock",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -80,7 +80,7 @@
80
80
  "posttest": "npm run clean",
81
81
  "test-local": "egg-bin test",
82
82
  "preci": "npm run clean && npm run lint && npm run prepublishOnly",
83
- "ci": "egg-bin cov",
83
+ "ci": "egg-bin test",
84
84
  "postci": "npm run clean",
85
85
  "prepublishOnly": "tshy && tshy-after && attw --pack --profile node16"
86
86
  },
package/src/lib/types.ts CHANGED
@@ -57,6 +57,7 @@ export interface MockClusterOptions extends MockOptions {
57
57
  * opt pass to coffee, such as { execArgv: ['--debug'] }
58
58
  */
59
59
  opt?: object;
60
+ startMode?: 'process' | 'worker_threads';
60
61
  }
61
62
 
62
63
  /**