@midwayjs/mock 4.0.0-beta.4 → 4.0.0-beta.6

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/creator.js +2 -2
  2. package/package.json +3 -3
package/dist/creator.js CHANGED
@@ -76,7 +76,7 @@ async function create(appDir, options = {}) {
76
76
  options = appDir;
77
77
  appDir = options.appDir || '';
78
78
  }
79
- debug(`[mock]: Create app, appDir="${appDir}"`);
79
+ debug(`[mock]: Create app, appDir="${appDir}", will be initialized.`);
80
80
  try {
81
81
  if (appDir) {
82
82
  // 处理测试的 fixtures
@@ -157,7 +157,7 @@ async function create(appDir, options = {}) {
157
157
  options.globalConfig = (0, utils_1.mergeGlobalConfig)(options.globalConfig, sslConfig);
158
158
  }
159
159
  const anonymousConfiguration = (0, functional_1.defineConfiguration)({
160
- namespace: 'anonymous',
160
+ namespace: 'mock-anonymous',
161
161
  async onReady(...args) {
162
162
  return options.onReady?.(...args);
163
163
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@midwayjs/mock",
3
- "version": "4.0.0-beta.4",
3
+ "version": "4.0.0-beta.6",
4
4
  "description": "create your test app from midway framework",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "license": "MIT",
31
31
  "devDependencies": {
32
- "@midwayjs/core": "^4.0.0-beta.4",
32
+ "@midwayjs/core": "^4.0.0-beta.6",
33
33
  "@midwayjs/logger": "^3.0.0",
34
34
  "@types/amqplib": "0.10.6",
35
35
  "amqplib": "0.10.5",
@@ -50,5 +50,5 @@
50
50
  "type": "git",
51
51
  "url": "https://github.com/midwayjs/midway.git"
52
52
  },
53
- "gitHead": "64b0cc5d7f67134b1bc75959233e9048e796f8b2"
53
+ "gitHead": "a02425777d044ec502d050993bc256dc26d5b586"
54
54
  }