fix: make sure @medusajs/medusa is loaded correctly regardless of integration test suite being run (#1166)

This commit is contained in:
Zakaria El Asri
2022-03-09 17:20:18 +01:00
committed by GitHub
parent 4e7435e4d7
commit 8e7de6dd36
3 changed files with 5 additions and 4 deletions

View File

@@ -1,5 +1,6 @@
const dbFactory = require("./helpers/use-template-db")
const path = require("path")
module.exports = async () => {
await dbFactory.createTemplateDb_()
await dbFactory.createTemplateDb_({ cwd: path.resolve(".") })
}