medusa-test-utils 1.1.45-snapshot-20240730111259 → 1.1.45-snapshot-20240805210411
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/medusa-test-runner-utils/config.js +1 -1
- package/dist/medusa-test-runner-utils/config.js.map +1 -1
- package/dist/medusa-test-runner-utils/use-db.d.ts.map +1 -1
- package/dist/medusa-test-runner-utils/use-db.js +6 -13
- package/dist/medusa-test-runner-utils/use-db.js.map +1 -1
- package/dist/medusa-test-runner.d.ts.map +1 -1
- package/dist/medusa-test-runner.js +3 -3
- package/dist/medusa-test-runner.js.map +1 -1
- package/package.json +7 -7
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.configLoaderOverride = void 0;
|
4
4
|
const utils_1 = require("@medusajs/utils");
|
5
5
|
async function configLoaderOverride(entryDirectory, override) {
|
6
|
-
const { configManager } = await import("@medusajs/framework
|
6
|
+
const { configManager } = await import("@medusajs/framework");
|
7
7
|
const { configModule, error } = (0, utils_1.getConfigFile)(entryDirectory, "medusa-config.js");
|
8
8
|
if (error) {
|
9
9
|
throw new Error(error.message || "Error during config loading");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/config.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAExC,KAAK,UAAU,oBAAoB,CACxC,cAAsB,EACtB,QAAgD;IAEhD,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/config.ts"],"names":[],"mappings":";;;AAAA,2CAA+C;AAExC,KAAK,UAAU,oBAAoB,CACxC,cAAsB,EACtB,QAAgD;IAEhD,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,MAAM,CAAC,qBAAqB,CAAC,CAAA;IAC7D,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,GAAG,IAAA,qBAAa,EAE3C,cAAc,EAAE,kBAAkB,CAAC,CAAA;IAErC,IAAI,KAAK,EAAE,CAAC;QACV,MAAM,IAAI,KAAK,CAAC,KAAK,CAAC,OAAO,IAAI,6BAA6B,CAAC,CAAA;IACjE,CAAC;IAED,YAAY,CAAC,aAAa,CAAC,WAAW,GAAG,QAAQ,CAAC,SAAS,CAAA;IAC3D,YAAY,CAAC,aAAa,CAAC,eAAe,GAAG,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAA;IAC7D,YAAY,CAAC,aAAa,CAAC,qBAAqB;QAC9C,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC;YACtC,CAAC,CAAC,EAAE;YACJ,CAAC,CAAC;gBACE,UAAU,EAAE;oBACV,GAAG,EAAE,EAAE,kBAAkB,EAAE,KAAK,EAAE;iBACnC;gBACD,mCAAmC,EAAE,KAAK;aAC3C,CAAA;IAEP,aAAa,CAAC,UAAU,CAAC;QACvB,aAAa,EAAE,YAAY;QAC3B,OAAO,EAAE,cAAc;KACxB,CAAC,CAAA;AACJ,CAAC;AA7BD,oDA6BC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-db.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":"AAGA,wBAAsB,MAAM,CAAC,EAAE,GAAQ,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;CAAE,
|
1
|
+
{"version":3,"file":"use-db.d.ts","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":"AAGA,wBAAsB,MAAM,CAAC,EAAE,GAAQ,EAAE,EAAE;IAAE,GAAG,CAAC,EAAE,MAAM,CAAC,GAAG,EAAE,GAAG,CAAC,CAAA;CAAE,qDA0CpE"}
|
@@ -7,23 +7,16 @@ async function initDb({ env = {} }) {
|
|
7
7
|
if ((0, utils_1.isObject)(env)) {
|
8
8
|
Object.entries(env).forEach(([k, v]) => (process.env[k] = v));
|
9
9
|
}
|
10
|
-
const {
|
11
|
-
const configModule = configManager.config;
|
10
|
+
const { pgConnectionLoader, logger, container, featureFlagsLoader, MedusaAppLoader, } = await import("@medusajs/framework");
|
12
11
|
const pgConnection = pgConnectionLoader();
|
13
|
-
|
12
|
+
await featureFlagsLoader();
|
14
13
|
container.register({
|
15
|
-
[utils_1.ContainerRegistrationKeys.
|
16
|
-
[utils_1.ContainerRegistrationKeys.LOGGER]: (0, awilix_1.asValue)(console),
|
17
|
-
[utils_1.ContainerRegistrationKeys.PG_CONNECTION]: (0, awilix_1.asValue)(pgConnection),
|
18
|
-
[utils_1.ContainerRegistrationKeys.FEATURE_FLAG_ROUTER]: (0, awilix_1.asValue)(featureFlagRouter),
|
14
|
+
[utils_1.ContainerRegistrationKeys.LOGGER]: (0, awilix_1.asValue)(logger),
|
19
15
|
});
|
20
16
|
try {
|
21
|
-
const
|
22
|
-
await
|
23
|
-
const planner = await getLinksExecutionPlanner(
|
24
|
-
configModule,
|
25
|
-
container,
|
26
|
-
});
|
17
|
+
const medusaAppLoader = new MedusaAppLoader();
|
18
|
+
await medusaAppLoader.runModulesMigrations();
|
19
|
+
const planner = await medusaAppLoader.getLinksExecutionPlanner();
|
27
20
|
const actionPlan = await planner.createPlan();
|
28
21
|
await planner.executePlan(actionPlan);
|
29
22
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use-db.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/use-db.ts"],"names":[],"mappings":";;;AAAA,2CAAqE;AACrE,mCAAgC;AAEzB,KAAK,UAAU,MAAM,CAAC,EAAE,GAAG,GAAG,EAAE,EAA8B;IACnE,IAAI,IAAA,gBAAQ,EAAC,GAAG,CAAC,EAAE,CAAC;QAClB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,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EAAE,CAAA;IAC/B,CAAC;IAAC,OAAO,GAAG,EAAE,CAAC;QACb,OAAO,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAA;QAClE,MAAM,GAAG,CAAA;IACX,CAAC;IAED,OAAO,YAAY,CAAA;AACrB,CAAC;AA1CD,wBA0CC"}
|
@@ -1 +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;
|
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;AA4DhE,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,QA6IA"}
|
@@ -127,11 +127,11 @@ function medusaIntegrationTestRunner({ moduleName, dbName, schema = "public", en
|
|
127
127
|
const container = options.getContainer();
|
128
128
|
const copiedContainer = (0, utils_1.createMedusaContainer)({}, container);
|
129
129
|
try {
|
130
|
-
const
|
131
|
-
|
130
|
+
const { MedusaAppLoader } = await import("@medusajs/framework");
|
131
|
+
const medusaAppLoader = new MedusaAppLoader({
|
132
132
|
container: copiedContainer,
|
133
|
-
configModule: container.resolve(utils_1.ContainerRegistrationKeys.CONFIG_MODULE),
|
134
133
|
});
|
134
|
+
await medusaAppLoader.runModulesLoader();
|
135
135
|
}
|
136
136
|
catch (error) {
|
137
137
|
console.error("Error runner modules loaders", error?.message);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"medusa-test-runner.js","sourceRoot":"","sources":["../src/medusa-test-runner.ts"],"names":[],"mappings":";;;AACA,
|
1
|
+
{"version":3,"file":"medusa-test-runner.js","sourceRoot":"","sources":["../src/medusa-test-runner.ts"],"names":[],"mappings":";;;AACA,2CAAuD;AACvD,mCAAqD;AACrD,yCAA2C;AAC3C,4EAAmE;AACnE,8DAA0D;AAC1D,8DAAwE;AAExE,MAAM,KAAK,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,CAAA;AAEtC,MAAM,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAA;AACnC,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,CAAA;AAC3C,MAAM,WAAW,GAAG,OAAO,CAAC,GAAG,CAAC,WAAW,C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GAAG,EAAE;QACvB,SAAS,CAAC,UAAU,CAAC,CAAA;QACrB,UAAU,CAAC,WAAW,CAAC,CAAA;QACvB,SAAS,CAAC,UAAU,CAAC,CAAA;QACrB,QAAQ,CAAC,KAAK,IAAI,EAAE;YAClB,MAAM,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAA;YAC9B,MAAM,QAAQ,EAAE,CAAA;QAClB,CAAC,CAAC,CAAA;QAEF,SAAS,CAAC,OAAQ,CAAC,CAAA;IACrB,CAAC,CAAC,CAAA;AACJ,CAAC;AA3JD,kEA2JC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "medusa-test-utils",
|
3
|
-
"version": "1.1.45-snapshot-
|
3
|
+
"version": "1.1.45-snapshot-20240805210411",
|
4
4
|
"description": "Test utils for Medusa",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"repository": {
|
@@ -24,17 +24,17 @@
|
|
24
24
|
"author": "Medusa",
|
25
25
|
"license": "MIT",
|
26
26
|
"devDependencies": {
|
27
|
-
"@medusajs/framework": "0.0.2-snapshot-
|
28
|
-
"@medusajs/types": "1.12.0-snapshot-
|
29
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
27
|
+
"@medusajs/framework": "0.0.2-snapshot-20240805210411",
|
28
|
+
"@medusajs/types": "1.12.0-snapshot-20240805210411",
|
29
|
+
"@medusajs/utils": "1.12.0-snapshot-20240805210411",
|
30
30
|
"cross-env": "^5.2.1",
|
31
31
|
"jest": "^29.7.0",
|
32
32
|
"rimraf": "^3.0.2",
|
33
33
|
"typescript": "^5.1.6"
|
34
34
|
},
|
35
35
|
"peerDependencies": {
|
36
|
-
"@medusajs/medusa": "1.20.6-snapshot-
|
37
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
36
|
+
"@medusajs/medusa": "1.20.6-snapshot-20240805210411",
|
37
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240805210411",
|
38
38
|
"axios": "^0.28.0",
|
39
39
|
"express": "^4.18.3",
|
40
40
|
"get-port": "^5.1.0",
|
@@ -58,7 +58,7 @@
|
|
58
58
|
}
|
59
59
|
},
|
60
60
|
"dependencies": {
|
61
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
61
|
+
"@medusajs/utils": "1.12.0-snapshot-20240805210411",
|
62
62
|
"@mikro-orm/migrations": "5.9.7",
|
63
63
|
"@mikro-orm/postgresql": "5.9.7",
|
64
64
|
"randomatic": "^3.1.1"
|