fix: remove verbose mode in integration test + fix jsdoc

This commit is contained in:
zakariaelas committed 2021-10-14 14:50:28 +01:00
1 parent dba1d5bb69
commit 36aeb4fffa
4 files changed
+4 -4

No files matched your search

@@ -32,7 +32,7 @@ describe("/admin/orders", () => {
beforeAll(async () => { beforeAll(async () => {
const cwd = path.resolve(path.join(__dirname, "..", "..")) const cwd = path.resolve(path.join(__dirname, "..", ".."))
dbConnection = await initDb({ cwd }) dbConnection = await initDb({ cwd })
medusaProcess = await setupServer({ cwd, verbose: true }) medusaProcess = await setupServer({ cwd })
}) })
afterAll(async () => { afterAll(async () => {
@@ -30,7 +30,7 @@ describe("/store/carts", () => {
const cwd = path.resolve(path.join(__dirname, "..", "..")) const cwd = path.resolve(path.join(__dirname, "..", ".."))
try { try {
dbConnection = await initDb({ cwd }) dbConnection = await initDb({ cwd })
medusaProcess = await setupServer({ cwd, verbose: true }) medusaProcess = await setupServer({ cwd })
} catch (error) { } catch (error) {
console.log(error) console.log(error)
} }
@@ -16,7 +16,7 @@ describe("/store/shipping-options", () => {
beforeAll(async () => { beforeAll(async () => {
const cwd = path.resolve(path.join(__dirname, "..", "..")) const cwd = path.resolve(path.join(__dirname, "..", ".."))
dbConnection = await initDb({ cwd }) dbConnection = await initDb({ cwd })
medusaProcess = await setupServer({ cwd, verbose: true }) medusaProcess = await setupServer({ cwd })
}) })
afterAll(async () => { afterAll(async () => {
@@ -9,7 +9,7 @@ class CustomShippingOptionService extends BaseService {
/** @private @const {EntityManager} */ /** @private @const {EntityManager} */
this.manager_ = manager this.manager_ = manager
/** @private @const {customShippingOptionRepository} */ /** @private @const {CustomShippingOptionRepository} */
this.customShippingOptionRepository_ = customShippingOptionRepository this.customShippingOptionRepository_ = customShippingOptionRepository
} }