medusa-test-utils 1.1.45-snapshot-20240704123604 → 1.1.45-snapshot-20240711051411

Sign up to get free protection for your applications and to get access to all the features.
@@ -25,3 +25,4 @@ export declare function getMikroOrmWrapper({ mikroOrmEntities, pathToMigrations,
25
25
  clientUrl?: string;
26
26
  schema?: string;
27
27
  }): TestDatabase;
28
+ //# sourceMappingURL=database.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../src/database.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AAE3E,wBAAgB,cAAc,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAStD;AAED,wBAAgB,iBAAiB,CAAC,EAChC,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,MAAM,GACP,EAAE;IACD,gBAAgB,EAAE,GAAG,EAAE,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAcV;AAED,MAAM,WAAW,YAAY;IAC3B,gBAAgB,EAAE,GAAG,EAAE,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,GAAG,EAAE,QAAQ,GAAG,IAAI,CAAA;IACpB,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAEhC,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9B,aAAa,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAC9B,UAAU,IAAI,gBAAgB,CAAA;IAC9B,WAAW,IAAI,gBAAgB,CAAA;IAC/B,MAAM,IAAI,QAAQ,CAAA;CACnB;AAED,wBAAgB,kBAAkB,CAAC,EACjC,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,MAAM,GACP,EAAE;IACD,gBAAgB,EAAE,GAAG,EAAE,CAAA;IACvB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,YAAY,CA2Ff"}
package/dist/events.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  import { IEventBusModuleService } from "@medusajs/types";
2
2
  export declare const waitSubscribersExecution: (eventName: string, eventBus: IEventBusModuleService) => Promise<any[]>;
3
+ //# sourceMappingURL=events.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../src/events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,iBAAiB,CAAA;AAGxD,eAAO,MAAM,wBAAwB,cACxB,MAAM,YACP,sBAAsB,mBAsBjC,CAAA"}
package/dist/id-map.d.ts CHANGED
@@ -4,3 +4,4 @@ declare class IdMap {
4
4
  }
5
5
  declare const instance: IdMap;
6
6
  export default instance;
7
+ //# sourceMappingURL=id-map.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"id-map.d.ts","sourceRoot":"","sources":["../src/id-map.ts"],"names":[],"mappings":"AAEA,cAAM,KAAK;IACT,GAAG,KAAK;IAER,KAAK,CAAC,GAAG,KAAA,EAAE,MAAM,SAAK,EAAE,MAAM,SAAK;CAUpC;AAED,QAAA,MAAM,QAAQ,OAAc,CAAA;AAC5B,eAAe,QAAQ,CAAA"}
package/dist/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export * from "./init-modules";
6
6
  export { default as MockEventBusService } from "./mock-event-bus-service";
7
7
  export * from "./module-test-runner";
8
8
  export * from "./medusa-test-runner";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +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"}
@@ -15,3 +15,4 @@ export declare function initModules({ injectedDependencies, databaseConfig, modu
15
15
  medusaApp: any;
16
16
  shutdown: () => Promise<void>;
17
17
  }>;
18
+ //# sourceMappingURL=init-modules.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init-modules.d.ts","sourceRoot":"","sources":["../src/init-modules.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,yBAAyB,EACzB,yBAAyB,EACzB,kBAAkB,EACnB,MAAM,iBAAiB,CAAA;AAOxB,MAAM,WAAW,kBAAkB;IACjC,oBAAoB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;IAC9C,cAAc,EAAE;QACd,SAAS,EAAE,MAAM,CAAA;QACjB,MAAM,CAAC,EAAE,MAAM,CAAA;KAChB,CAAA;IACD,aAAa,EAAE;QACb,CAAC,GAAG,EAAE,MAAM,GACR,MAAM,GACN,OAAO,GACP,OAAO,CAAC,yBAAyB,GAAG,yBAAyB,CAAC,CAAA;KACnE,CAAA;IACD,YAAY,CAAC,EAAE,kBAAkB,EAAE,CAAA;IACnC,+BAA+B,CAAC,EAAE,OAAO,CAAA;CAC1C;AAED,wBAAsB,WAAW,CAAC,EAChC,oBAAoB,EACpB,cAAc,EACd,aAAa,EACb,YAAY,EACZ,+BAAuC,GACxC,EAAE,kBAAkB;;;GAgDpB"}
package/dist/jest.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export declare function afterAllHookDropDatabase(): void;
2
+ //# sourceMappingURL=jest.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jest.d.ts","sourceRoot":"","sources":["../src/jest.ts"],"names":[],"mappings":"AAEA,wBAAgB,wBAAwB,SAqBvC"}
@@ -7,3 +7,4 @@ export declare function startApp({ cwd, env, }?: {
7
7
  container: MedusaContainer;
8
8
  port: number;
9
9
  }>;
10
+ //# sourceMappingURL=bootstrap-app.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bootstrap-app.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/bootstrap-app.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AA6BjD,wBAAsB,QAAQ,CAAC,EAC7B,GAAG,EACH,GAAQ,GACT,GAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;CAAO,GAAG,OAAO,CAAC;IACzD,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;IAC7B,SAAS,EAAE,eAAe,CAAA;IAC1B,IAAI,EAAE,MAAM,CAAA;CACb,CAAC,CAyCD"}
@@ -2,3 +2,4 @@ export declare function initDb({ cwd, env, }: {
2
2
  cwd: string;
3
3
  env?: Record<any, any>;
4
4
  }): Promise<any>;
5
+ //# sourceMappingURL=use-db.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"use-db.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":"AAOA,wBAAsB,MAAM,CAAC,EAC3B,GAAG,EACH,GAAQ,GACT,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;CACvB,gBAqCA"}
@@ -24,3 +24,4 @@ export declare function medusaIntegrationTestRunner({ moduleName, dbName, schema
24
24
  debug?: boolean;
25
25
  testSuite: <TService = unknown>(options: MedusaSuiteOptions<TService>) => void;
26
26
  }): void;
27
+ //# sourceMappingURL=medusa-test-runner.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"medusa-test-runner.d.ts","sourceRoot":"","sources":["../src/medusa-test-runner.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,eAAe,EAAE,MAAM,iBAAiB,CAAA;AA8DhE,MAAM,WAAW,kBAAkB,CAAC,QAAQ,GAAG,OAAO;IACpD,YAAY,EAAE,GAAG,CAAA;IACjB,YAAY,EAAE,MAAM,eAAe,CAAA;IACnC,GAAG,EAAE,GAAG,CAAA;IACR,OAAO,EAAE;QACP,MAAM,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;QACzC,QAAQ,EAAE,CAAC,OAAO,EAAE;YAAE,MAAM,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;QACzD,QAAQ,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAA;KAC5C,CAAA;IACD,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAA;QACd,MAAM,EAAE,MAAM,CAAA;QACd,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;CACF;AAED,wBAAgB,2BAA2B,CAAC,EAC1C,UAAU,EACV,MAAM,EACN,MAAiB,EACjB,GAAQ,EACR,KAAa,EACb,SAAS,GACV,EAAE;IACD,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IACzB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,SAAS,EAAE,CAAC,QAAQ,GAAG,OAAO,EAAE,OAAO,EAAE,kBAAkB,CAAC,QAAQ,CAAC,KAAK,IAAI,CAAA;CAC/E,QAmKA"}
@@ -6,3 +6,4 @@ export default class EventBusService implements IEventBusModuleService {
6
6
  releaseGroupedEvents(eventGroupId: string): Promise<void>;
7
7
  clearGroupedEvents(eventGroupId: string): Promise<void>;
8
8
  }
9
+ //# sourceMappingURL=mock-event-bus-service.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mock-event-bus-service.d.ts","sourceRoot":"","sources":["../src/mock-event-bus-service.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,aAAa,EACb,sBAAsB,EACtB,OAAO,EACP,UAAU,EACX,MAAM,iBAAiB,CAAA;AAExB,MAAM,CAAC,OAAO,OAAO,eAAgB,YAAW,sBAAsB;IAC9D,IAAI,CAAC,CAAC,EACV,IAAI,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,EAAE,EAC/B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/B,OAAO,CAAC,IAAI,CAAC;IAEhB,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,IAAI;IAI/D,WAAW,CACT,KAAK,EAAE,MAAM,GAAG,MAAM,EACtB,UAAU,EAAE,UAAU,EACtB,OAAO,CAAC,EAAE,aAAa,CAAC,iBAAiB,GACxC,IAAI;IAIP,oBAAoB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzD,kBAAkB,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAGxD"}
@@ -20,3 +20,4 @@ export declare function moduleIntegrationTestRunner<TService = any>({ moduleName
20
20
  debug?: boolean;
21
21
  testSuite: (options: SuiteOptions<TService>) => void;
22
22
  }): void;
23
+ //# sourceMappingURL=module-test-runner.d.ts.map
@@ -0,0 +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,OAAO,EAAE,QAAQ,CAAA;IACjB,QAAQ,EAAE;QACR,MAAM,EAAE,MAAM,CAAA;QACd,SAAS,EAAE,MAAM,CAAA;KAClB,CAAA;CACF;AAED,wBAAgB,2BAA2B,CAAC,QAAQ,GAAG,GAAG,EAAE,EAC1D,UAAU,EACV,YAAY,EACZ,aAAkB,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "medusa-test-utils",
3
- "version": "1.1.45-snapshot-20240704123604",
3
+ "version": "1.1.45-snapshot-20240711051411",
4
4
  "description": "Test utils for Medusa",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
@@ -24,15 +24,15 @@
24
24
  "author": "Sebastian Rindom",
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "@medusajs/types": "1.12.0-snapshot-20240704123604",
27
+ "@medusajs/types": "1.12.0-snapshot-20240711051411",
28
28
  "cross-env": "^5.2.1",
29
29
  "jest": "^29.7.0",
30
30
  "rimraf": "^3.0.2",
31
31
  "typescript": "^5.1.6"
32
32
  },
33
33
  "peerDependencies": {
34
- "@medusajs/medusa": "1.20.6-snapshot-20240704123604",
35
- "@medusajs/modules-sdk": "1.13.0-snapshot-20240704123604",
34
+ "@medusajs/medusa": "1.20.6-snapshot-20240711051411",
35
+ "@medusajs/modules-sdk": "1.13.0-snapshot-20240711051411",
36
36
  "axios": "^0.28.0",
37
37
  "express": "^4.18.3",
38
38
  "get-port": "^5.1.0",
@@ -56,7 +56,7 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@medusajs/utils": "1.12.0-snapshot-20240704123604",
59
+ "@medusajs/utils": "1.12.0-snapshot-20240711051411",
60
60
  "@mikro-orm/migrations": "5.9.7",
61
61
  "@mikro-orm/postgresql": "5.9.7",
62
62
  "randomatic": "^3.1.1"