Feat/convert return reason service to typescript (#1961)

**What**
- Convert return reason service to typescript

Fixes CORE-355
This commit is contained in:
Philip Korsholm
2022-08-02 18:40:11 +07:00
committed by GitHub
parent 1dec44287d
commit 6251aecdaa
9 changed files with 70 additions and 60 deletions

View File

@@ -1,6 +1,4 @@
const { match } = require("assert")
const path = require("path")
const { RepositoryNotTreeError } = require("typeorm")
const setupServer = require("../../../helpers/setup-server")
const { useApi } = require("../../../helpers/use-api")
@@ -17,7 +15,7 @@ describe("/admin/return-reasons", () => {
beforeAll(async () => {
const cwd = path.resolve(path.join(__dirname, "..", ".."))
dbConnection = await initDb({ cwd })
medusaProcess = await setupServer({ cwd })
medusaProcess = await setupServer({ cwd, verbose: false })
})
afterAll(async () => {