medusa-test-utils 1.1.45-snapshot-20240907131855 → 1.1.45-snapshot-20240909132045
Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ async function bootstrapApp({ cwd, env = {}, } = {}) {
|
|
17
17
|
directory: (0, path_1.resolve)(cwd || process.cwd()),
|
18
18
|
expressApp: app,
|
19
19
|
});
|
20
|
-
const PORT = await (0, get_port_1.default)();
|
20
|
+
const PORT = process.env.PORT ? parseInt(process.env.PORT) : await (0, get_port_1.default)();
|
21
21
|
return {
|
22
22
|
shutdown,
|
23
23
|
container,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"bootstrap-app.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/bootstrap-app.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA6B;AAC7B,wDAA8B;AAC9B,+BAA8B;AAE9B,mCAA+C;AAC/C,2CAAoE;AAEpE,KAAK,UAAU,YAAY,CAAC,EAC1B,GAAG,EACH,GAAG,GAAG,EAAE,MACoC,EAAE;IAC9C,MAAM,GAAG,GAAG,IAAA,iBAAO,GAAE,CAAA;IACrB,IAAA,6BAAqB,EAAC,GAAG,CAAC,CAAA;IAE1B,MAAM,OAAO,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAAC,OAAO,CAAA;IAEhE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,MAAM,OAAO,CAAC;QAC5C,SAAS,EAAE,IAAA,cAAO,EAAC,GAAG,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC;QACxC,UAAU,EAAE,GAAG;KAChB,CAAC,CAAA;IAEF,MAAM,IAAI,GAAG,MAAM,IAAA,kBAAO,GAAE,CAAA;
|
1
|
+
{"version":3,"file":"bootstrap-app.js","sourceRoot":"","sources":["../../src/medusa-test-runner-utils/bootstrap-app.ts"],"names":[],"mappings":";;;;;;AAAA,sDAA6B;AAC7B,wDAA8B;AAC9B,+BAA8B;AAE9B,mCAA+C;AAC/C,2CAAoE;AAEpE,KAAK,UAAU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AO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;QAC3C,MAAM,MAAM,GAAG,GAAG;aACf,MAAM,CAAC,IAAI,CAAC;aACZ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE;YACzB,MAAM,QAAQ,EAAE,CAAA;YAChB,OAAO,MAAM,CAAC,GAAG,CAAC,CAAA;QACpB,CAAC,CAAC;aACD,EAAE,CAAC,WAAW,EAAE,GAAG,EAAE;YACpB,OAAO,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAA;YAEpB,OAAO,CAAC;gBACN,QAAQ;gBACR,SAAS;gBACT,IAAI;aACL,CAAC,CAAA;QACJ,CAAC,CAAC,CAAA;QAEJ,qEAAqE;QACrE,aAAa,GAAG,8BAAsB,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACvD,CAAC,CAAC,CAAA;AACJ,CAAC;AAhDD,4BAgDC"}
|
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-20240909132045",
|
4
4
|
"description": "Test utils for Medusa",
|
5
5
|
"main": "dist/index.js",
|
6
6
|
"repository": {
|
@@ -22,16 +22,16 @@
|
|
22
22
|
"author": "Medusa",
|
23
23
|
"license": "MIT",
|
24
24
|
"devDependencies": {
|
25
|
-
"@medusajs/framework": "0.0.2-snapshot-
|
26
|
-
"@medusajs/types": "1.12.0-snapshot-
|
25
|
+
"@medusajs/framework": "0.0.2-snapshot-20240909132045",
|
26
|
+
"@medusajs/types": "1.12.0-snapshot-20240909132045",
|
27
27
|
"cross-env": "^5.2.1",
|
28
28
|
"jest": "^29.7.0",
|
29
29
|
"rimraf": "^3.0.2",
|
30
30
|
"typescript": "^5.1.6"
|
31
31
|
},
|
32
32
|
"peerDependencies": {
|
33
|
-
"@medusajs/medusa": "1.20.6-snapshot-
|
34
|
-
"@medusajs/modules-sdk": "1.13.0-snapshot-
|
33
|
+
"@medusajs/medusa": "1.20.6-snapshot-20240909132045",
|
34
|
+
"@medusajs/modules-sdk": "1.13.0-snapshot-20240909132045",
|
35
35
|
"@mikro-orm/core": "5.9.7",
|
36
36
|
"@mikro-orm/migrations": "5.9.7",
|
37
37
|
"@mikro-orm/postgresql": "5.9.7",
|
@@ -66,7 +66,7 @@
|
|
66
66
|
}
|
67
67
|
},
|
68
68
|
"dependencies": {
|
69
|
-
"@medusajs/utils": "1.12.0-snapshot-
|
69
|
+
"@medusajs/utils": "1.12.0-snapshot-20240909132045",
|
70
70
|
"get-port": "^5.1",
|
71
71
|
"randomatic": "^3.1.1"
|
72
72
|
},
|