medusa-test-utils 1.1.45-snapshot-20240823080810 → 1.1.45-snapshot-20240826112546

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  export * as TestDatabaseUtils from "./database";
2
2
  export * as TestEventUtils from "./events";
3
- export * as JestUtils from "./jest";
4
3
  export { default as IdMap } from "./id-map";
5
4
  export * from "./init-modules";
5
+ export * as JestUtils from "./jest";
6
+ export * from "./medusa-test-runner";
6
7
  export { default as MockEventBusService } from "./mock-event-bus-service";
7
8
  export * from "./module-test-runner";
8
- export * from "./medusa-test-runner";
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,UAAU,CAAA;AAC3C,cAAc,gBAAgB,CAAA;AAC9B,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACzE,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,iBAAiB,MAAM,YAAY,CAAA;AAC/C,OAAO,KAAK,cAAc,MAAM,UAAU,CAAA;AAC1C,OAAO,EAAE,OAAO,IAAI,KAAK,EAAE,MAAM,UAAU,CAAA;AAC3C,cAAc,gBAAgB,CAAA;AAC9B,OAAO,KAAK,SAAS,MAAM,QAAQ,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAA;AACzE,cAAc,sBAAsB,CAAA"}
package/dist/index.js CHANGED
@@ -29,15 +29,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
29
29
  return (mod && mod.__esModule) ? mod : { "default": mod };
30
30
  };
31
31
  Object.defineProperty(exports, "__esModule", { value: true });
32
- exports.MockEventBusService = exports.IdMap = exports.JestUtils = exports.TestEventUtils = exports.TestDatabaseUtils = void 0;
32
+ exports.MockEventBusService = exports.JestUtils = exports.IdMap = exports.TestEventUtils = exports.TestDatabaseUtils = void 0;
33
33
  exports.TestDatabaseUtils = __importStar(require("./database"));
34
34
  exports.TestEventUtils = __importStar(require("./events"));
35
- exports.JestUtils = __importStar(require("./jest"));
36
35
  var id_map_1 = require("./id-map");
37
36
  Object.defineProperty(exports, "IdMap", { enumerable: true, get: function () { return __importDefault(id_map_1).default; } });
38
37
  __exportStar(require("./init-modules"), exports);
38
+ exports.JestUtils = __importStar(require("./jest"));
39
+ __exportStar(require("./medusa-test-runner"), exports);
39
40
  var mock_event_bus_service_1 = require("./mock-event-bus-service");
40
41
  Object.defineProperty(exports, "MockEventBusService", { enumerable: true, get: function () { return __importDefault(mock_event_bus_service_1).default; } });
41
42
  __exportStar(require("./module-test-runner"), exports);
42
- __exportStar(require("./medusa-test-runner"), exports);
43
43
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAA+C;AAC/C,2DAA0C;AAC1C,oDAAmC;AACnC,mCAA2C;AAAlC,gHAAA,OAAO,OAAS;AACzB,iDAA8B;AAC9B,mEAAyE;AAAhE,8IAAA,OAAO,OAAuB;AACvC,uDAAoC;AACpC,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gEAA+C;AAC/C,2DAA0C;AAC1C,mCAA2C;AAAlC,gHAAA,OAAO,OAAS;AACzB,iDAA8B;AAC9B,oDAAmC;AACnC,uDAAoC;AACpC,mEAAyE;AAAhE,8IAAA,OAAO,OAAuB;AACvC,uDAAoC"}
@@ -2,7 +2,7 @@ import type { MedusaAppLoader } from "@medusajs/framework";
2
2
  /**
3
3
  * Initiates the database connection
4
4
  */
5
- export declare function initDb(): Promise<import("@mikro-orm/knex").Knex<any, any>>;
5
+ export declare function initDb(): Promise<import("knex").Knex<any, any>>;
6
6
  /**
7
7
  * Migrates the database
8
8
  */
@@ -1 +1 @@
1
- {"version":3,"file":"use-db.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAI1D;;GAEG;AACH,wBAAsB,MAAM,sDAS3B;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,eAAe,iBAO/D;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,SAAS,EAAE,eAAe,iBAYzD"}
1
+ {"version":3,"file":"use-db.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAI1D;;GAEG;AACH,wBAAsB,MAAM,2CAS3B;AAED;;GAEG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,eAAe,iBAO/D;AAED;;GAEG;AACH,wBAAsB,SAAS,CAAC,SAAS,EAAE,eAAe,iBAYzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"module-test-runner.d.ts","sourceRoot":"","sources":["../src/module-test-runner.ts"],"names":[],"mappings":"AAMA,OAAO,EAAsC,YAAY,EAAE,MAAM,YAAY,CAAA;AAG7E,MAAM,WAAW,YAAY,CAAC,QAAQ,GAAG,OAAO;IAC9C,eAAe,EAAE,YAAY,CAAA;IAC7B,SAAS,EAAE,GAAG,CAAA;IACd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kB,EAClB,YAAiB,EACjB,MAAiB,EACjB,KAAa,EACb,SAAS,EACT,OAAO,EACP,oBAAyB,GAC1B,EAAE;IACD,UAAU,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,GAAG,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACnC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAA;IACpB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC1C,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAA;CACrD,QAuGA"}
@@ -1,10 +1,13 @@
1
1
  "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
2
5
  Object.defineProperty(exports, "__esModule", { value: true });
3
6
  exports.moduleIntegrationTestRunner = void 0;
4
7
  const utils_1 = require("@medusajs/utils");
5
- const _1 = require(".");
6
8
  const database_1 = require("./database");
7
9
  const init_modules_1 = require("./init-modules");
10
+ const mock_event_bus_service_1 = __importDefault(require("./mock-event-bus-service"));
8
11
  function moduleIntegrationTestRunner({ moduleName, moduleModels, moduleOptions = {}, joinerConfig = [], schema = "public", debug = false, testSuite, resolve, injectedDependencies = {}, }) {
9
12
  const moduleSdkImports = require("@medusajs/modules-sdk");
10
13
  process.env.LOG_LEVEL = "error";
@@ -37,7 +40,7 @@ function moduleIntegrationTestRunner({ moduleName, moduleModels, moduleOptions =
37
40
  const moduleOptions_ = {
38
41
  injectedDependencies: {
39
42
  [utils_1.ContainerRegistrationKeys.PG_CONNECTION]: connection,
40
- eventBusModuleService: new _1.MockEventBusService(),
43
+ eventBusModuleService: new mock_event_bus_service_1.default(),
41
44
  [utils_1.ContainerRegistrationKeys.LOGGER]: console,
42
45
  ...injectedDependencies,
43
46
  },
@@ -1 +1 @@
1
- {"version":3,"file":"module-test-runner.js","sourceRoot":"","sources":["../src/module-test-runner.ts"],"names":[],"mappings":";;;AAAA,2CAIwB;AACxB,wBAAuC;AACvC,yCAA6E;AAC7E,iDAAgE;AAYhE,SAAgB,2BAA2B,CAAiB,EAC1D,UAAU,EACV,YAAY,EACZ,aAAa,GAAG,EAAE,EAClB,YAAY,GAAG,EAAE,EACjB,MAAM,GAAG,QAAQ,EACjB,KAAK,GAAG,KAAK,EACb,SAAS,EACT,OAAO,EACP,oBAAoB,GAAG,EAAE,GAY1B;IACC,MAAM,gBAAgB,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAAA;IAEzD,OAAO,CAAC,GAAG,CAAC,SAAS,GAAG,OAAO,CAAA;IAE/B,YAAY,KAAK,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,OAAO,CAAC,GAAG,EAAE,aAAa,CAAC,CAAC,CAAA;IACtE,YAAY,GAAG,IAAA,0BAAkB,EAAC,YAAY,CAAC,CAAA;IAE/C,MAAM,QAAQ,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,IAAI,GAAG,CAAC,CAAA;IAC5D,MAAM,MAAM,GAAG,UAAU,UAAU,CAAC,WAAW,EAAE,gBAAgB,QAAQ,EAAE,CAAA;IAE3E,MAAM,QAAQ,GAAG;QACf,SAAS,EAAE,IAAA,yBAAc,EAAC,MAAM,CAAC;QACjC,MAAM;QACN,KAAK;KACN,CAAA;IAED,mDAAmD;IACnD,MAAM,UAAU,GAAG,uBAAe,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IAE/D,MAAM,eAAe,GAAG,IAAA,6BAAkB,EAAC;QACzC,gBAAgB,EAAE,YAAY;QAC9B,SAAS,EAAE,QAAQ,CAAC,SAAS;QAC7B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AC,OAAO,EAAE,OAAO,EAAE,CAAA;YAC5C,MAAO,UAAkB,CAAC,OAAO,EAAE,CAAA;QACrC,CAAC,CAAC,CAAA;QAEF,SAAS,CAAC,OAAO,CAAC,CAAA;IACpB,CAAC,CAAC,CAAA;AACJ,CAAC;AA5HD,kEA4HC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medusa-test-utils",
3
- "version": "1.1.45-snapshot-20240823080810",
3
+ "version": "1.1.45-snapshot-20240826112546",
4
4
  "description": "Test utils for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -23,27 +23,40 @@
23
23
  "author": "Medusa",
24
24
  "license": "MIT",
25
25
  "devDependencies": {
26
- "@medusajs/framework": "0.0.2-snapshot-20240823080810",
27
- "@medusajs/types": "1.12.0-snapshot-20240823080810",
28
- "@medusajs/utils": "1.12.0-snapshot-20240823080810",
26
+ "@medusajs/framework": "0.0.2-snapshot-20240826112546",
27
+ "@medusajs/types": "1.12.0-snapshot-20240826112546",
29
28
  "cross-env": "^5.2.1",
30
29
  "jest": "^29.7.0",
31
30
  "rimraf": "^3.0.2",
32
31
  "typescript": "^5.1.6"
33
32
  },
34
33
  "peerDependencies": {
35
- "@medusajs/medusa": "1.20.6-snapshot-20240823080810",
36
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240823080810",
37
- "@mikro-orm/core": "5.9.7",
34
+ "@medusajs/medusa": "1.20.6-snapshot-20240826112546",
35
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240826112546",
36
+ "@mikro-orm/core": "*",
37
+ "@mikro-orm/migrations": "*",
38
+ "@mikro-orm/postgresql": "*",
38
39
  "axios": "^0.28.0",
39
40
  "express": "^4.18.3",
40
41
  "get-port": "^5.1.0",
41
42
  "pg-god": "^1.0.12"
42
43
  },
43
44
  "peerDependenciesMeta": {
45
+ "@medusajs/core": {
46
+ "optional": true
47
+ },
44
48
  "@medusajs/medusa": {
45
49
  "optional": true
46
50
  },
51
+ "@medusajs/migrations": {
52
+ "optional": true
53
+ },
54
+ "@medusajs/modules-sdk": {
55
+ "optional": true
56
+ },
57
+ "@medusajs/postgresql": {
58
+ "optional": true
59
+ },
47
60
  "axios": {
48
61
  "optional": true
49
62
  },
@@ -58,9 +71,7 @@
58
71
  }
59
72
  },
60
73
  "dependencies": {
61
- "@medusajs/utils": "1.12.0-snapshot-20240823080810",
62
- "@mikro-orm/migrations": "5.9.7",
63
- "@mikro-orm/postgresql": "5.9.7",
74
+ "@medusajs/utils": "1.12.0-snapshot-20240826112546",
64
75
  "randomatic": "^3.1.1"
65
76
  },
66
77
  "gitHead": "81a7ff73d012fda722f6e9ef0bd9ba0232d37808"