From 36aeb4fffa662930db0172a8397ff3b928b0d5ec Mon Sep 17 00:00:00 2001 From: zakariaelas Date: Thu, 14 Oct 2021 14:50:28 +0100 Subject: [PATCH] fix: remove verbose mode in integration test + fix jsdoc --- integration-tests/api/__tests__/admin/order.js | 2 +- integration-tests/api/__tests__/store/cart.js | 2 +- integration-tests/api/__tests__/store/shipping-options.js | 2 +- packages/medusa/src/services/custom-shipping-option.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/integration-tests/api/__tests__/admin/order.js b/integration-tests/api/__tests__/admin/order.js index 8fb15770ef..eecfeee6dd 100644 --- a/integration-tests/api/__tests__/admin/order.js +++ b/integration-tests/api/__tests__/admin/order.js @@ -32,7 +32,7 @@ describe("/admin/orders", () => { beforeAll(async () => { const cwd = path.resolve(path.join(__dirname, "..", "..")) dbConnection = await initDb({ cwd }) - medusaProcess = await setupServer({ cwd, verbose: true }) + medusaProcess = await setupServer({ cwd }) }) afterAll(async () => { diff --git a/integration-tests/api/__tests__/store/cart.js b/integration-tests/api/__tests__/store/cart.js index cad84175a0..cc1e39d956 100644 --- a/integration-tests/api/__tests__/store/cart.js +++ b/integration-tests/api/__tests__/store/cart.js @@ -30,7 +30,7 @@ describe("/store/carts", () => { const cwd = path.resolve(path.join(__dirname, "..", "..")) try { dbConnection = await initDb({ cwd }) - medusaProcess = await setupServer({ cwd, verbose: true }) + medusaProcess = await setupServer({ cwd }) } catch (error) { console.log(error) } diff --git a/integration-tests/api/__tests__/store/shipping-options.js b/integration-tests/api/__tests__/store/shipping-options.js index 3235e878e4..06814a5cf6 100644 --- a/integration-tests/api/__tests__/store/shipping-options.js +++ b/integration-tests/api/__tests__/store/shipping-options.js @@ -16,7 +16,7 @@ describe("/store/shipping-options", () => { beforeAll(async () => { const cwd = path.resolve(path.join(__dirname, "..", "..")) dbConnection = await initDb({ cwd }) - medusaProcess = await setupServer({ cwd, verbose: true }) + medusaProcess = await setupServer({ cwd }) }) afterAll(async () => { diff --git a/packages/medusa/src/services/custom-shipping-option.js b/packages/medusa/src/services/custom-shipping-option.js index a8369e5a96..df4c6e5d05 100644 --- a/packages/medusa/src/services/custom-shipping-option.js +++ b/packages/medusa/src/services/custom-shipping-option.js @@ -9,7 +9,7 @@ class CustomShippingOptionService extends BaseService { /** @private @const {EntityManager} */ this.manager_ = manager - /** @private @const {customShippingOptionRepository} */ + /** @private @const {CustomShippingOptionRepository} */ this.customShippingOptionRepository_ = customShippingOptionRepository }