feat(medusa/product-export-strategy): Implement the Product export strategy (#1688)
This commit is contained in:
@@ -2,7 +2,7 @@ const path = require("path")
|
||||
const { spawn } = require("child_process")
|
||||
const { setPort } = require("./use-api")
|
||||
|
||||
module.exports = ({ cwd, verbose }) => {
|
||||
module.exports = ({ cwd, redisUrl, uploadDir, verbose }) => {
|
||||
const serverPath = path.join(__dirname, "test-server.js")
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
@@ -13,6 +13,8 @@ module.exports = ({ cwd, verbose }) => {
|
||||
NODE_ENV: "development",
|
||||
JWT_SECRET: "test",
|
||||
COOKIE_SECRET: "test",
|
||||
REDIS_URL: redisUrl, // If provided, will use a real instance, otherwise a fake instance
|
||||
UPLOAD_DIR: uploadDir // If provided, will be used for the fake local file service
|
||||
},
|
||||
stdio: verbose
|
||||
? ["inherit", "inherit", "inherit", "ipc"]
|
||||
|
||||
Reference in New Issue
Block a user